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

Rails 6.1 deprecation warning #170

Open
ch-tactica opened this issue Jun 11, 2019 · 0 comments · May be fixed by #178 or #179
Open

Rails 6.1 deprecation warning #170

ch-tactica opened this issue Jun 11, 2019 · 0 comments · May be fixed by #178 or #179

Comments

@ch-tactica
Copy link

Getting the following deprecation notice when running the Rails 6 pre-release:

DEPRECATION WARNING: update_attributes is deprecated and will be removed from Rails 6.1 (please, use update instead)

Replacing update_attributes with update here should make it go away:

update_attributes(direct_otp: nil, direct_otp_sent_at: nil)

Note: The update_attributes method was renamed to use update in this pull request in 2013.

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