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 …

Best

Yvon,

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

You can below link to get started
http://mongoid.org/en/mongoid/docs/installation.html

On Tue, Oct 21, 2014 at 12:38 PM, Yvon T.
[email protected]
wrote:

For more options, visit https://groups.google.com/d/optout.

OK, fine thanks for the url.

Le mardi 21 octobre 2014 11:37:43 UTC+2, Sathia a écrit :

On Tuesday, October 21, 2014 10:37:43 AM UTC+1, Sathia wrote:

Yvon,

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

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.

Fred