You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting this! I've made a change to the Mongoid integration which will prevent issues like this from cropping up in the future -- this will make state_machine work on the unpatched version of Mongoid 3.1.0.
I just updated do mongoid-3.1.0 and I get this error on any state_machine I try to create. Classes without state_machine are working fine.
The exception is thrown here (/mongoid-3.1.0/lib/mongoid/attributes.rb:171:in `block in write_attribute')
because attributes_before_type_cast is nil
The text was updated successfully, but these errors were encountered: