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

Im also having this issue, so I send a pull request.
not sure if should raise an error ReadonlyAttribute ?

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