Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Remove use of update_attribute #18

Open
soffes opened this issue Jul 26, 2012 · 0 comments
Open

Remove use of update_attribute #18

soffes opened this issue Jul 26, 2012 · 0 comments

Comments

@soffes
Copy link

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.
markus referenced this issue in markus/acts_as_list Jan 25, 2013
Should decrement lower items after the item has been destroyed to avoid unique key conflicts.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant