state-machines / state_machines-activerecord

StateMachines Active Record Integration
https://github.com/state-machines/state_machines-activerecord
MIT License
401 stars 83 forks source link

Statemachine observer is not working as expected. #90

Closed bsa7 closed 4 years ago

bsa7 commented 4 years ago

Hi! I'm create the test case: https://github.com/r72cccp/state_machine_observer_test

To replay this problem:

Help me understand, please, what i'm doing wrong?

seuros commented 4 years ago

do you have 'state_machines-activemodel-observers' ?

bsa7 commented 4 years ago

do you have 'state_machines-activemodel-observers' ?

Thank you advance. Only i added state_machines-activemodel-observers gem to bundle, all expected methods fired!

subashkc commented 3 years ago

@seuros I don't think its mentioned in the rubydoc guides anywhere, I only got it going after I found this issue.

seuros commented 3 years ago

@subashkc , will update the docs, thanks.