Mongoid 2.4.0 stable with Rails 4.0.0 tweaks