mongoid/mongoid — pull request #3681 by arnvald (2014-06-04 17:50:19+00:00)
Title: Fix 3 out of 4 failing callbacks tests on ActiveModel 4.1

Hi,

this is very rough code that fixes 3 failing specs (still 1 to go) on ActiveModel 4.1 - rather to present possible solution than to have it merged, however if you think it can be improved and merged after 4.0 relase, let me know, I'll work on it more.