On 4 March 2010 23:36, Gordon Yeong <anexi...@gmail.com> wrote:
> Assuming an online t-shirt sales application, each order catalogue would
> have the following statuses throughout the life of the application.

It would be worth your time to look at using a state machine then.
Either roll your own (it's a fairly simple pattern), or install AASM
(Acts As State Machine) to get going very quickly.

-- 
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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to