Live data from Hacker News

Rails Presenters: filling the Model-View-Controller gap

inspire.nl

1–4 of 4 posts

Re: Rails Presenters: filling the Model-View-Controller gap

#3
post #2

If you're interested in using presenters with Rails, the draper gem is worth a look: https://github.com/drapergem/draper

Thanks for the link! I'm happy to answer any questions about Draper or presenters as a strategy in Rails apps.

Re: Rails Presenters: filling the Model-View-Controller gap

#4
Presenters are awesome (I second the that draper is excellent).

Once you start decorating you find yourself decorating everything, because Ruby makes it so easy to throw on one-off delegates. I've even taken a presenter-ish approach to all my DCI implementations now and my model code is really clean.