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/makara_postgis_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



7
8
9
# File 'lib/active_record/connection_adapters/jdbcmysql_makara_adapter.rb', line 7

def jdbcmysql_makara_connection(config)
  mysql2_makara_connection(config)
end

#jdbcpostgresql_makara_connection(config) ⇒ Object



7
8
9
# File 'lib/active_record/connection_adapters/jdbcpostgresql_makara_adapter.rb', line 7

def jdbcpostgresql_makara_connection(config)
  postgresql_makara_connection(config)
end

#makara_jdbcmysql_connection(config) ⇒ Object



7
8
9
# File 'lib/active_record/connection_adapters/makara_jdbcmysql_adapter.rb', line 7

def makara_jdbcmysql_connection(config)
  makara_mysql2_connection(config)
end

#makara_jdbcpostgresql_connection(config) ⇒ Object



7
8
9
# File 'lib/active_record/connection_adapters/makara_jdbcpostgresql_adapter.rb', line 7

def makara_jdbcpostgresql_connection(config)
  makara_postgresql_connection(config)
end

#makara_mysql2_connection(config) ⇒ Object



6
7
8
# File 'lib/active_record/connection_adapters/makara_mysql2_adapter.rb', line 6

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

#makara_postgis_connection(config) ⇒ Object



6
7
8
# File 'lib/active_record/connection_adapters/makara_postgis_adapter.rb', line 6

def makara_postgis_connection(config)
  ActiveRecord::ConnectionAdapters::MakaraPostgisAdapter.new(config)
end

#makara_postgresql_connection(config) ⇒ Object



6
7
8
# File 'lib/active_record/connection_adapters/makara_postgresql_adapter.rb', line 6

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

#mysql2_makara_connection(config) ⇒ Object



6
7
8
# File 'lib/active_record/connection_adapters/mysql2_makara_adapter.rb', line 6

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

#postgresql_makara_connection(config) ⇒ Object



6
7
8
# File 'lib/active_record/connection_adapters/postgresql_makara_adapter.rb', line 6

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