Open DevelopMan opened 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.
ActiveRecord.column_defaults
initialize_state
see https://github.com/pluginaweek/state_machine/issues/343
After this commit
ActiveRecord.column_defaults
returns frozen hash and this behaviour brakes the state machineinitialize_state
method. This PR fixes the issue.