Marnen Laibow-Koser wrote:
> Chris Habgood wrote:
>> I have a from that will have a status, "approved", "in
>> process",denied"... and such.
>> 
>> What is the best approach?
> 
> If a record can only have one status at a time, then it only needs one 
> status field.
> 
> Consider using aasm -- it's meant for exactly this purpose.

This is what Marnen suggested, which I concur:
http://github.com/rubyist/aasm/tree/master
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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