-
Notifications
You must be signed in to change notification settings - Fork 120
Don't use deprecated attribute_changed? #325
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
Don't use deprecated attribute_changed? #325
Conversation
|
@julienbourdeau I think tests in this PR should be passing for all Travis build jobs, but I get this timeout error on random jobs:
Tests pass on other jobs. Is this a temporary problem on your end? Or if these random errors are expected, is it possible to merge this PR? Thanks! |
|
@jeromedalbert Yes sorry about that. I'm looking into it, I dont understand why it's timing out 😭 It seems to happen a lot more in rails repo than other repo. I think this is the most urging PR, so I think I'll release my first patch version tomorrow with it and release the rest of the PR/issues by batch. |
|
All checks pass! 🎉 |
|
Thank you for this contribution! 🚀 |
|
@julienbourdeau Thanks! It looks like you minted v1.20.5 of this gem on GitHub, but it hasn't been pushed to RubyGems yet, where the latest version is 1.20.4. So we're using |
|
Shipping this change without the necessary documentation changes was a huge mistake. |
|
It was, sorry @vincentwoo 🙏 @jeromedalbert If you can find time to review #338 I'd really appreciate your opinion on it. |
Describe your change
This is the same code as PR #263 (which has been stale for more than a year), but fixed with all tests hopefully passing.
What problem is this fixing?
PR #263 used
ActiveRecord::Versionwhich doesn't exist: onlyActiveRecord::VERSIONexists. My PR fixes that.The end goal of both this PR and the original PR is to use non-deprecated fields.