Flowdock
method

new

Importance_0
v1.2.0 - Show latest stable - 0 notes - Class: ActiveRecord::ConnectionAdapters::DB2Adapter
new(connection, logger, connection_options) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/connection_adapters/db2_adapter.rb, line 41
        def initialize(connection, logger, connection_options)
          super(connection, logger)
          @connection_options = connection_options
          if schema = @connection_options[:schema]
            with_statement do |stmt|
              stmt.exec_direct("SET SCHEMA=#{schema}")
            end
          end
        end
Register or log in to add new notes.