Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

mongo_mapper or mongoid with rails4

The ORM mongo_mapper and mongoid both support ruby on rails. However, after reading their documents I still cannot make a decision which one to use to develop a new application with rails4.

Any suggestion?

like image 523
canoe Avatar asked Dec 09 '13 13:12

canoe


1 Answers

I have used MongoMapper but decided to migrate to MongoId. both of them are great MongoDB Libraries for Ruby, but after reading a lot about the difference, I ended up using mongoid because of this.

You can find some differences between those MongoDB Libraries here, and decide which of them is more suitable to your requirments:

  • Mongoid or MongoMapper?
  • Mongoid vs MongoMapper: Two Great MongoDB Libraries for Ruby
  • Mongoid or MongoMapper — the verdict
like image 80
user2503775 Avatar answered Nov 22 '22 06:11

user2503775