Autre méthode :
class Abc < ActiveRecord::Base
establish_connection Rails.configuration.database_configuration["test"]
end
Autre méthode :
class Abc < ActiveRecord::Base
establish_connection Rails.configuration.database_configuration["test"]
end