News for hackers. Stuff that matters.
Re:Why critics of Rails have it all wrong (and Ruby's bright... by cheald on Thursday September 13, 2012 @12:27PM (#4517041)
Use decorators. Draper is my personal favorite, and it very cleanly solves the issue of serialization nightmares and controller/model confusion.

(I hope that it ends up in the Rails core someday, because it really is a gamechanger in how Rails is used for non-HTML content!)

Re:Why critics of Rails have it all wrong (and Ruby's bright... by VeejayRampay on Saturday September 15, 2012 @12:17AM (#4525277)
Agreed, Draper + Jbuilder and you got yourself plenty of decoupling and beauty.