'undefined method `aasm_state' in aasm gem related issue
I'm using ruby 2.0.0 and rails 3.2.22. I have problem regarding aasm gem. When I'm checking the aasm state on particular object I'm getting error
For example if @advisor.suspended?, where advisor is object and state is suspended, I'm getting error as:
undefined method `aasm_state' for #<Advisor:0x000000060da8f8>
please reply if anybody has faced the same issue.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
