mongoid/mongoid — pull request #3612 by fred (2014-04-22 14:21:35+00:00)
Title: Fixes atomic operations on read-only attributes

I don't know if it's best to raise Errors::ReadonlyAttribute in this case.

fixes https://github.com/mongoid/mongoid/issues/3610