preston / railroady

Ruby on Rails 3/4/5 model and controller UML class diagram generator. (`brew/port/apt-get install graphviz` before use!)
Other
1.72k stars 142 forks source link

Fixing changes to AASM API #98

Closed coderguy closed 8 years ago

coderguy commented 8 years ago

AASM version 4 has removed methods prefixed with aasm_ and has put them under the aasm object. (https://github.com/aasm/aasm/commit/e9a7686b3e1b837f2ce0d591e6d8789f6c4 26f36)

Additionally the events are now stored as an array and not a hash, so the events loop has been refactored to read the name from the event rather then the key value pair.