Files

Class/Module Index [+]

Quicksearch

ActiveRecord::ConnectionAdapters::OracleAdapter

Public Class Methods

emulate_booleans() click to toggle source
# File lib/arjdbc/oracle/adapter.rb, line 671
def self.emulate_booleans;  ::ArJdbc::Oracle.emulate_booleans?; end
emulate_booleans=(emulate) click to toggle source
# File lib/arjdbc/oracle/adapter.rb, line 672
def self.emulate_booleans=(emulate); ::ArJdbc::Oracle.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::OracleAdapter.emulate_booleans = false
# File lib/arjdbc/oracle/adapter.rb, line 670
def self.emulate_booleans?; ::ArJdbc::Oracle.emulate_booleans?; end
new(*args) click to toggle source
# File lib/arjdbc/oracle/adapter.rb, line 674
def initialize(*args)
  ::ArJdbc::Oracle.initialize!
  super # configure_connection happens in super

  @use_insert_returning = config.key?(:insert_returning) ?
    self.class.type_cast_config_to_boolean(config[:insert_returning]) : nil
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.