mirror of
https://github.com/aasm/aasm
synced 2023-03-27 23:22:41 -04:00
bf7ff4c44a
* Cast string to sym when checking event in `fire` * Return early from method if event found * Change message to reference Event, not State * Add UndefinedEvent exception Previously the code raised "UndefinedState" when it failed to find an Event. This is confusing but was already released to the public. So this adds UndefinedEvent as a subclass of UndefinedState and raises it instead. * Update Changelog |
||
---|---|---|
.. | ||
generators | ||
models | ||
spec_helpers | ||
unit | ||
database.rb | ||
database.yml | ||
en.yml | ||
localizer_test_model_deprecated_style.yml | ||
localizer_test_model_new_style.yml | ||
spec_helper.rb |