Update compatiblity with Rails 4.0 and Mongoid
Merge pull request #59 from florentmorin/patch-2

Update compatiblity with Rails 4.0 and Mongoid