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:

http://railscasts.com/episodes/238-mongoid

On Tue, May 5, 2015 at 2:12 PM, Manvi S. [email protected]
wrote:

What changes to do it the mongoid.yml and how to (in java terms)
You received this message because you are subscribed to the Google G.
“Ruby on Rails: Talk” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected]
To post to this group, send email to [email protected]
To view this discussion on the web visit

https://groups.google.com/d/msgid/rubyonrails-talk/034cccc0391a6aaf1e36f5fc2635c97e%40ruby-forum.com

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


Rajeev Kannav Sharma
http://www.google.com/search?q=Rajeev+Kannav+Sharma&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a

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