Conexión de la base de datos de cambio de rieles

 ActiveRecord::Base.establish_connection({:adapter => "mysql", :database => new_name, :host => "olddev",
    :username => "root", :password => "password" })
Dull Dogfish