Class: Yasarg::Connection
- Inherits:
-
Object
- Object
- Yasarg::Connection
- Defined in:
- lib/yasarg/connection.rb
Class Method Summary collapse
Class Method Details
.establish ⇒ Object
4 5 6 7 |
# File 'lib/yasarg/connection.rb', line 4 def establish configuration = Yasarg::RailsFakeApp.config.database_configuration[Rails.env] ActiveRecord::Base.establish_connection(configuration) end |