RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  

State Machine with Rails. Basics

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


Post a Comment

Comment abilities for non registered users are currently deactivated, pending time to add a proper CAPTCHA to solve the escalating spam problem. Sorry!