Re:Where the logic hides in rails apps
by programminggeek on Monday December 24, 2012 @12:13AM
(#4961943)
I think a great way to deal with this is to have services/actions that return the appropriate hashes. Pass the hashes into your views and let them do what they're going to do with them. You won't have biz logic creeping into a view that way because views are dealing with dumb hashes, not real entity objects.
[ Parent
| on HN ]
There are no comments on this comment yet.