kristianmandrup/acts_as_list_mongoid — pull request #7 by manishmohanlal (2012-07-11 17:38:20+00:00)
Title: update_attributes and save! prevents mongoid to identify previous_changes

I have made changes to the lib/mongoid/acts_as_list.rb by replacing update_attributes with update_attributes!. The reason for this change is update_attributes in turn calls save. Having update_attributes and then save!, causes mongoid.previous_changes to return empty. So replacing update_attributes and save!, with single update_attributes! is equivalent and mongoid.previous_changes works.