NoamB/sorcery — pull request #182 by munkius (2012-01-01 18:34:22+00:00)
Title: Activity logging should only update the activity logging fields, and nothing else

Related to https://github.com/NoamB/sorcery/pull/112.

I've rewritten the activity logging code so that nothing is stored, except the activity logging fields. Handy for having validation errors on other fields that you do not want persisted. I've added a spec to prove it.

I tried to enable it also for Mongoid but it complains about not supporting ActiveSupport::TimeWithZone - probably in an association with an update_all. I've let the Mongoid spec in a pending state. I don't have any Mongoid experience, so hopefully someone else might take a look at it!