1.

How To Use Two Databases Into A Single Application?

Answer»

magic multi-connections allows you to write your model once, and use them for the multiple RAILS databases at the same time.

SUDO gem INSTALL magic_multi_connection. After INSTALLING this gem, just add this line at bottom of your environment.rb require “magic_multi_connection”

magic multi-connections allows you to write your model once, and use them for the multiple rails databases at the same time.

sudo gem install magic_multi_connection. After installing this gem, just add this line at bottom of your environment.rb require “magic_multi_connection”



Discussion

No Comment Found