Simple State Machines in Rails 4.1 with Enum
a new feature of Ruby on Rails 4.1 is that of “enum” which enables a simple, and very quick, mini state machine. The use case for such a feature is for a status field that has a small set of Continue reading Simple State Machines in Rails 4.1 with Enum