The Missing Step in Rails Controllers
Ryan Francis
151

I like the solution, but I am curious why you choosen the API like

Trip.decant_new(params[:trip])

instead of

Trip.new(TripDecanter.new(params[:trip]))

Why ActiveRecord should be loaded with knowledge about your library?