Answers for "how to change db connect in ruby on rails"

0

rails change database connection

ActiveRecord::Base.establish_connection({:adapter => "mysql", :database => new_name, :host => "olddev",
    :username => "root", :password => "password" })
Posted by: Guest on July-06-2020

Code answers related to "how to change db connect in ruby on rails"

Browse Popular Code Answers by Language