Newbie question : Rails 4 + mongo db

Hi ,

I am new to ruby on rails (using rails 4 and ruby 2.0.0) and I’m looking
for a good tutorial for mongo db using mongoid.yml.

I found a few online, but they give only the basic steps. And I have
done till that. ie. insert, query, etc from a mongo db database through
the controller.

My basic question revolves around making a connection pool and using it.
What changes to do it the mongoid.yml and how to (in java terms)
getConnection from the controller???

Any help would be appreciated

Thanks :slight_smile:

Sorry, accidentally posted this under the “ruby” subheading
Posting it in “ruby on rails” now

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs