Closed UnderpantsGnome closed 9 years ago
So what does it take to get this working in a standard Rails 4 app? I have the following in my Gemfile and I still get the above results.
gem 'state_machines', '~> 0.4.0'
gem 'state_machines-activerecord', '~> 0.3.0'
gem 'state_machines-activemodel', '~> 0.3.0'
Just gem 'state_machines-activerecord'
will depend on the other gems.
Could you open an issue in the state_machines-activerecord repo instead ?
Will do, sorry about that. I guess the coffee hasn't kicked in yet.
I have a model with a conditional validation
but if I try to transition it fails.