On 22 June 2010 15:11, Fernando Brito <[email protected]> wrote: > I have a model called "Users" and a model called "Projects". Now I need to > implement a "status" field to each one of them. Each User/Project > belongs_to a status.
If you're implementing states, use a state machine. I use AASM at a preference, but there are lots of alternatives. http://github.com/rubyist/aasm -- 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.

