Hi all,

We know about draper that helps decorating/view-modling.
But are there any gems that do it in reverse?

What I mean by that is that instead of operating (loading, saving etc) on 
actual models, we would do that on the ViewModels that are updated from 
"params".

One of the problems that I want to solve mapping params into models (especially 
for not ActiveRecord ones).

This should preferably be transparent for the controller code (so that it 
doesn't change much).

This is probably closely related to the small part of  "services" layer, but a 
little bit thiner I guess.

Cheers,
Dmytrii
http://www.ApproachE.com





-- 
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en.

Reply via email to