mnelson/stator — pull request #2 by jrichardlai (2013-08-22 05:31:09+00:00)
Title: Fixes error when state column does not exists

Got an issue when deploying, the state column were added later but the code runs the AR model already, so there is an error:

undefined method `default' for nil:NilClass
*** xxx/gems/stator-0.0.7/lib/stator/machine.rb:17:in `initialize'