Adds multiple database support to activerecord