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



255
256
257
258
259
# File 'lib/activerecord-import/import.rb', line 255

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