pluginaweek / state_machine

Adds support for creating state machines for attributes on any Ruby class
http://www.pluginaweek.org
MIT License
3.74k stars 505 forks source link

After [this commit](https://github.com/rails/rails/blob/c9c293e19464c… #368

Open DevelopMan opened 5 months ago

DevelopMan commented 5 months ago

After this commit ActiveRecord.column_defaults returns frozen hash and this behaviour brakes the state machine initialize_state method. This PR fixes the issue.

styx commented 2 months ago

see https://github.com/pluginaweek/state_machine/issues/343