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

Clear ActiveRecord::AttributeMethods::Dirty Deprecated Methods #1131

Closed
Marinlemaignan opened this issue Apr 4, 2018 · 1 comment
Closed

Comments

@Marinlemaignan
Copy link
Contributor

devise_token_auth/concerns/user.rb:247 is using deprecated methods, littering logs with depracation warning messages.`

devise_token_auth
  revision: d4c0e91ccba8b6e6d611fe828e1def442199ac29
  branch: master
  specs:
    devise_token_auth (0.1.43)
      devise (> 3.5.2, < 4.5)
      rails (< 6)

rails (= 5.1.4)
DEPRECATION WARNING: The behavior of `attribute_changed?` inside of after callbacks will be changing in the next version of Rails. The new return value will reflect the behavior of calling the method after `save` returned (e.g. the opposite of what it returns now). To maintain the current behavior, use `saved_change_to_attribute?` instead. (called from remove_tokens_after_password_reset at /Users/marin/.rvm/gems/[email protected]/bundler/gems/devise_token_auth-d4c0e91ccba8/app/models/devise_token_auth/concerns/user.rb:247)
@Marinlemaignan
Copy link
Contributor Author

i just gave it a shot here
let me know
#1132

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

No branches or pull requests

1 participant