RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

releu — 1 posts

State Machine comes to the rescue when models in your application need statuses and events.
There is a state_machine gem for ruby.
I recommend you to spend some time studying basics before you start using it with rails.
Here is a nice tutorial