Settings

Theme

Rails Presenters: filling the Model-View-Controller gap

inspire.nl

12 points by fvlasveld 12 years ago · 3 comments

Reader

nfm 12 years ago

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

  • steveklabnik 12 years ago

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

ludicast 12 years ago

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.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection