top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Looking for a good tutorial for mongo db using mongoid.yml.

+1 vote
357 views

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?

posted May 5, 2015 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes
answer May 5, 2015 by Anderson
Similar Questions
+1 vote

Looking for tutorial for rail programming any pointer.

+1 vote

I am in the process of migrating a replica set from a data center to AWS, but when I checked the settings, I noticed that the Sharding is not enabled, yet they are using 3 MongoS / Routers and 3 MongoC / Config servers - So since Sharding is not used in the current system, would it be safe to migrate the replica sets and not use MonogoS nor MongoC ? Can the users connect directly to Mongo database replica set without using MongoS ?
Or should I use at least 1 MongoS and 1 MongoC config server ?

0 votes

I was looking for a good tutorial for a "HTML Parser". My intention was to extract tables from web pages or information from tables in web pages.

I tried to make a search, I got HTMLParser, BeautifulSoup, etc. HTMLParser works fine for me, but I am looking for a good tutorial to learn it nicely.

I could not use BeautifulSoup as I did not find an .exe file.

I am using Python 2.7 on Windows 7 SP1 (64 bit).

I am looking for a good tutorial for HTMLParser or any similar parser which have an .exe file for my environment and a good tutorial.

...