state-machines / state_machines

Adds support for creating state machines for attributes on any Ruby class
https://github.com/state-machines/state_machines
MIT License
814 stars 91 forks source link

Fixed state machine false duplication. #32

Closed majioa closed 7 years ago

majioa commented 9 years ago

Fixed case when the state machine has a name differed to default, and call to ::state_machine method triggered next time after the find initial one.

seuros commented 9 years ago

Can you add a test case ?

majioa commented 8 years ago

@seuros added

majioa commented 8 years ago

@seuros what is the status of PR?