that depends: generally spoken, business logic should be put into
models. but if you only want to change format, coloring, etc. thats a
typical helper-function.


On 18 Nov., 04:50, Ben Wilson <[EMAIL PROTECTED]> wrote:
> Hey, I want to highlight rows in an index view based on their
> timeliness. That is, is a record late, due soon, etc. Is it a better
> practice to put the business logic in the helper or model?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to