1
0
Fork 0
mirror of https://github.com/aasm/aasm synced 2023-03-27 23:22:41 -04:00
Commit graph

4 commits

Author SHA1 Message Date
Thorsten Böttger
239b536fe0 allow :send as event name #257 2016-01-08 16:08:43 +13:00
Thorsten Böttger
7984528e07 let class names reflect its purpose (in tests) 2015-05-18 20:40:54 +12:00
Thorsten Böttger
e29232581d extract test models into their own files 2015-05-16 16:46:45 +12:00
Michael Xavier
6dd484fb95 Fix stack level too deep error due to namespacing
If you have a state machine with a "failed" event and you transition it
and it fails to transition, AASM will call the "failed" method it
defines but will hit your transition instead and blow the stack.

All other methods in AASM are prefixed with AASM to avoid this, so this
patch does the same thing with the private methods `failed` and `fired`.
2014-07-25 09:05:31 -07:00