Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DevelopMan
Copy link

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

…9ce37316f2d917ac123d7b654e6/activerecord/lib/active_record/model_schema.rb#L395) `ActiveRecord.column_defaults` returns frozen hash and this behaviour brakes the state machine `initialize_state` method. This PR fixes the issue
@styx
Copy link

styx commented Jul 1, 2024

see #343

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants