rails acts_as_state_machine problem
-
11-09-2019 - |
Question
I've installed the restful_authentication plugin. I'm Using rails 2.2.2. However, I can't seem to get past a certain error:
"undefined method acts_as_state_machine"
It doesn't matter if I call db:migrate or script/server, everything results in this same error.
Any ideas?
Solution
If you use --stateful
or --aasm
when you run the generator, it enables acts_as_state_machine
support. If that is behavior you want, try installing aasm from the above github link and see if that resolves your issue.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow