I'm Sérgio Santos, a developer and entrepreneur from Coimbra, Portugal. I've founded the jeKnowledge junior company and started the Ineo blog.

You can also find my ideas at Ideas Notebook, thoughts at life@coimbra or review my old blog.

MongoMapper & Mongoid

I decided to give MongoDB a try on a brand new rails project. It was also a change to get a bit familiar with the upcoming Rails 3 (there’s a release candidate now \o/).

I found two MongoDB adapters for rails: MongoMapper and Mongoid. Here’s an article with a comparison (thanks Tomé Duarte). After trying out the two on a really simple use case, I preferred working with Mongoid for 3 reasons:

I also used MongoHQ to try out their free plan for cloud hosting service. It’s very easy to use, but I’m still waiting for a good MongoDB front-end for inspecting my databases.

NoSQL, Rails and MongoDB

After some research on NoSQL databases, for a future rails project, the projects that caught my attention were:

I’ve spent some more time MongoDB. Their list of prodution deployments is impressive. John Nunemaker developed an adapter for ruby, the MongoMapper, which already supports some neat features like validations and callbacks, much on the ActiveRecord style. See this article and the presentation below for more info:

Still have to spend some time experimenting with it, but it seems promising. 

Has anyone tried NoSQL with rails, on a recent project? Thoughts to share?