swanandp/acts_as_list — pull request #56 by vesan (2012-10-21 15:01:55+00:00)
Title: Changes from update_attributes to assignment

Marks position column as not attr_accessible (like it is in many apps)
and sets the column by directly setting the attribute.

Fixes issue https://github.com/swanandp/acts_as_list/issues/50

I don't know if there was a reason for using update_attributes!, I couldn't
find any. This patch adds `set_list_position` public method. It could also
be private but there are few tests that used update_attributes! which I
converted to use the new `set_list_position` method.