In my rails app, I reference multiple databases. Using connection_ninja I tell models where to point, but how do I do the same for migrations?
RAILS_ENV
doesn't work since specific migrations need to point to specific DBs
Thanks in advanced, Justin
UPDATE--------------
I discovered establish_connection
(basis for conn_ninja & connected to other dbs) is not honored by ActiveRecord::Migration even though the method is part of ActiveRecord::Base.
Any ideas on how to hack around this?