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

Remove use of update_attribute #44

Closed
soffes opened this issue Jul 26, 2012 · 0 comments · Fixed by #45
Closed

Remove use of update_attribute #44

soffes opened this issue Jul 26, 2012 · 0 comments · Fixed by #45

Comments

@soffes
Copy link
Contributor

soffes commented Jul 26, 2012

Calling move_to_bottom causes the following warning:

DEPRECATION WARNING: update_attribute is deprecated and will be removed in Rails 4. If you want to skip mass-assignment protection, callbacks, and modifying updated_at, use update_column. If you do want those things, use update_attributes.
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 a pull request may close this issue.

2 participants