Class: ActiveRecord::Base

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Class Method Details

.jdbcmysql_makara_connection(config) ⇒ Object



19
20
21
# File 'lib/active_record/connection_adapters/jdbcmysql_makara_adapter.rb', line 19

def self.jdbcmysql_makara_connection(config)
  self.mysql2_makara_connection(config)
end

.jdbcpostgresql_makara_connection(config) ⇒ Object



19
20
21
# File 'lib/active_record/connection_adapters/jdbcpostgresql_makara_adapter.rb', line 19

def self.jdbcpostgresql_makara_connection(config)
  self.postgresql_makara_connection(config)
end

.makara_jdbcmysql_connection(config) ⇒ Object



19
20
21
# File 'lib/active_record/connection_adapters/makara_jdbcmysql_adapter.rb', line 19

def self.makara_jdbcmysql_connection(config)
  self.makara_mysql2_connection(config)
end

.makara_jdbcpostgresql_connection(config) ⇒ Object



19
20
21
# File 'lib/active_record/connection_adapters/makara_jdbcpostgresql_adapter.rb', line 19

def self.makara_jdbcpostgresql_connection(config)
  self.makara_postgresql_connection(config)
end

.makara_mysql2_connection(config) ⇒ Object



18
19
20
# File 'lib/active_record/connection_adapters/makara_mysql2_adapter.rb', line 18

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

.makara_postgresql_connection(config) ⇒ Object



18
19
20
# File 'lib/active_record/connection_adapters/makara_postgresql_adapter.rb', line 18

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

.mysql2_makara_connection(config) ⇒ Object



18
19
20
# File 'lib/active_record/connection_adapters/mysql2_makara_adapter.rb', line 18

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

.postgresql_makara_connection(config) ⇒ Object



18
19
20
# File 'lib/active_record/connection_adapters/postgresql_makara_adapter.rb', line 18

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