Newbie : how to use MongoDB instead of SQLite3 ?

Hey all,

that’s the first time I’m posting here.

I’m really a newbie, I did only the blog in “Getting Started with Rails”

I’d like to continue testing Rails but I wonder how to switch from SQLite3 to MongoDB because my datas are here …



You should search for “mongoid” in rails. Mongoid is one of the adpater for mongodb.

You can below link to get started

OK, fine thanks for the url.

Although note that since this isn’t SQL, it won’t be as simple as just changing your database,yml (as it would be if switching to postgres) - you’ll have to regenerate the models.