Class: Departure::ConnectionBase

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/departure/connection_base.rb

Class Method Summary collapse

Class Method Details

.establish_connection(config = nil) ⇒ Object



3
4
5
6
7
# File 'lib/departure/connection_base.rb', line 3

def self.establish_connection(config = nil)
  super.tap do
    ActiveRecord::Base.connection_specification_name = connection_specification_name
  end
end