The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

State Machine with Rails. Basics

by releu — 9 February 2013

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

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will bedirected via GitHub to signup or sign in