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



243
244
245
246
247
# File 'lib/activerecord-import/import.rb', line 243

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