cloudinary/cloudinary_gem — pull request #80 by slainer68 (2013-07-12 13:13:45+00:00)
Title: Mongoid 4 compatibility fix

As you can see Mongoid 4 and Mongoid master now wants a Hash for setting attributes via the set atomic method :
https://github.com/mongoid/mongoid/blob/master/lib/mongoid/persistable/settable.rb#L22

So I've made this patch that sends the correct signature to Mongoid set method depending on the major version.

Thanks.