Module: ActiveRecord::ConnectionHandling

Defined in:
lib/active_record/connection_adapters/makara_mysql2_adapter.rb,
lib/active_record/connection_adapters/mysql2_makara_adapter.rb,
lib/active_record/connection_adapters/jdbcmysql_makara_adapter.rb,
lib/active_record/connection_adapters/makara_jdbcmysql_adapter.rb,
lib/active_record/connection_adapters/makara_postgresql_adapter.rb,
lib/active_record/connection_adapters/postgresql_makara_adapter.rb,
lib/active_record/connection_adapters/jdbcpostgresql_makara_adapter.rb,
lib/active_record/connection_adapters/makara_jdbcpostgresql_adapter.rb

Instance Method Summary collapse

Instance Method Details

#jdbcmysql_makara_connection(config) ⇒ Object



9
10
11
# File 'lib/active_record/connection_adapters/jdbcmysql_makara_adapter.rb', line 9

def jdbcmysql_makara_connection(config)
  mysql2_makara_connection(config)
end

#jdbcpostgresql_makara_connection(config) ⇒ Object



9
10
11
# File 'lib/active_record/connection_adapters/jdbcpostgresql_makara_adapter.rb', line 9

def jdbcpostgresql_makara_connection(config)
  postgresql_makara_connection(config)
end

#makara_jdbcmysql_connection(config) ⇒ Object



9
10
11
# File 'lib/active_record/connection_adapters/makara_jdbcmysql_adapter.rb', line 9

def makara_jdbcmysql_connection(config)
  makara_mysql2_connection(config)
end

#makara_jdbcpostgresql_connection(config) ⇒ Object



9
10
11
# File 'lib/active_record/connection_adapters/makara_jdbcpostgresql_adapter.rb', line 9

def makara_jdbcpostgresql_connection(config)
  makara_postgresql_connection(config)
end

#makara_mysql2_connection(config) ⇒ Object



8
9
10
# File 'lib/active_record/connection_adapters/makara_mysql2_adapter.rb', line 8

def makara_mysql2_connection(config)
  ActiveRecord::ConnectionAdapters::MakaraMysql2Adapter.new(config)
end

#makara_postgresql_connection(config) ⇒ Object



8
9
10
# File 'lib/active_record/connection_adapters/makara_postgresql_adapter.rb', line 8

def makara_postgresql_connection(config)
  ActiveRecord::ConnectionAdapters::MakaraPostgreSQLAdapter.new(config)
end

#mysql2_makara_connection(config) ⇒ Object



8
9
10
# File 'lib/active_record/connection_adapters/mysql2_makara_adapter.rb', line 8

def mysql2_makara_connection(config)
  ActiveRecord::ConnectionAdapters::MakaraMysql2Adapter.new(config)
end

#postgresql_makara_connection(config) ⇒ Object



8
9
10
# File 'lib/active_record/connection_adapters/postgresql_makara_adapter.rb', line 8

def postgresql_makara_connection(config)
  ActiveRecord::ConnectionAdapters::MakaraPostgreSQLAdapter.new(config)
end