can work with rails4+mongoid3