Module: ActiveRecord::ConnectionHandling

Defined in:
lib/janus-ar/active_record/connection_adapters/janus_mysql2_adapter.rb,
lib/janus-ar/active_record/connection_adapters/janus_trilogy_adapter.rb

Instance Method Summary collapse

Instance Method Details

#janus_mysql2_connection(config) ⇒ Object



9
10
11
# File 'lib/janus-ar/active_record/connection_adapters/janus_mysql2_adapter.rb', line 9

def janus_mysql2_connection(config)
  ActiveRecord::ConnectionAdapters::JanusMysql2Adapter.new(config)
end

#janus_trilogy_connection(config) ⇒ Object



9
10
11
# File 'lib/janus-ar/active_record/connection_adapters/janus_trilogy_adapter.rb', line 9

def janus_trilogy_connection(config)
  ActiveRecord::ConnectionAdapters::JanusTrilogyAdapter.new(config)
end