18 June 2010

I've been playing around a bit with MongoDB + Rails recently, and have been trying to figure out whether to use Mongo Mapper or Mongoid. I was pretty certain I wanted to use Mongoid last week, due to its excellent docs, but after reading John Nunemaker's post about Mongo Mapper 0.8 goodies I think I may be switching back over to MongoMapper (luckily I haven't done much yet).

One other thing MongoMapper has in its favor is mongrations. Yes, while MongoDB doesn't need migrations like SQL does, you DO still need to account for things when you say, need to convert all your distance measurements from miles to feet, or start adding indexes, or just want to delete a field in old records that's no longer needed.



blog comments powered by Disqus