Search code examples
rubyactiverecordconnection-pooling

ruby activerecord multiple connection pool


Is there any good documentation or tutorial available about active record multiple connection pooling? I am looking for the multiple database connection and need to switch the connection accordingly.

It would be highly greatful if you could get me an idea!


Solution

  • If you are aiming to have a master-slave schema you should try multi_db