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

fix active model *_previously_changed? and active record will_save_change_to_*? and saved_change_to_*? dirty methods to accept kwargs #639

Merged
merged 2 commits into from
Mar 31, 2024

Conversation

doits
Copy link
Contributor

@doits doits commented Mar 26, 2024

since Rails 6.1 they accept kwargs from and to, see rails/rails@a6841c7

@doits doits changed the title fix active model *_previously_changed? dirty methods to accept kwargs fix active model *_previously_changed? and active record will_save_change_to_*? and saved_change_to_*? dirty methods to accept kwargs Mar 26, 2024
@shioyama shioyama merged commit 012fdb0 into shioyama:master Mar 31, 2024
55 checks passed
@shioyama
Copy link
Owner

❤️ thank you!

shioyama added a commit that referenced this pull request Mar 31, 2024
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