# File lib/arjdbc/mysql/adapter.rb, line 624 def self.emulate_booleans; ::ArJdbc::MySQL.emulate_booleans?; end
# File lib/arjdbc/mysql/adapter.rb, line 625 def self.emulate_booleans=(emulate); ::ArJdbc::MySQL.emulate_booleans = emulate; end
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
Generated with the Darkfish Rdoc Generator 2.