Files

Class/Module Index [+]

Quicksearch

ActiveRecord::ConnectionAdapters::MysqlAdapter

Public Class Methods

emulate_booleans() click to toggle source
# File lib/arjdbc/mysql/adapter.rb, line 624
def self.emulate_booleans;  ::ArJdbc::MySQL.emulate_booleans?; end
emulate_booleans=(emulate) click to toggle source
# File lib/arjdbc/mysql/adapter.rb, line 625
def self.emulate_booleans=(emulate); ::ArJdbc::MySQL.emulate_booleans = emulate; end
emulate_booleans?() click to toggle source

By default, the MysqlAdapter will consider all columns of type __tinyint(1)__ as boolean. If you wish to disable this : “`

ActiveRecord::ConnectionAdapters::Mysql[2]Adapter.emulate_booleans = false

“`

# File lib/arjdbc/mysql/adapter.rb, line 623
def self.emulate_booleans?; ::ArJdbc::MySQL.emulate_booleans?; end
new(*args) click to toggle source
# File lib/arjdbc/mysql/adapter.rb, line 657
def initialize(*args)
  super # configure_connection happens in super
end

Public Instance Methods

jdbc_column_class() click to toggle source
# File lib/arjdbc/mysql/adapter.rb, line 665
def jdbc_column_class
  Column
end
jdbc_connection_class(spec) click to toggle source
# File lib/arjdbc/mysql/adapter.rb, line 661
def jdbc_connection_class(spec)
  ::ArJdbc::MySQL.jdbc_connection_class
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.