📅  最后修改于: 2022-03-11 15:04:49.799000             🧑  作者: Mango
ActiveRecord::Base.establish_connection({:adapter => "mysql", :database => new_name, :host => "olddev",
:username => "root", :password => "password" })