Module: ActiveRecord::Import::Connection

Included in:
Base
Defined in:
lib/activerecord-import/import.rb

Instance Method Summary collapse

Instance Method Details

#establish_connection(args = nil) ⇒ Object


251
252
253
254
255
# File 'lib/activerecord-import/import.rb', line 251

def establish_connection(args = nil)
  conn = super(args)
  ActiveRecord::Import.load_from_connection_pool connection_pool
  conn
end