Sha256: b20d3ca1b895b87ede564de08144d26c47a417b317b6dca4eb5fb4a34120a53a

Contents?: true

Size: 410 Bytes

Versions: 9

Compression:

Stored size: 410 Bytes

Contents

require 'active_record/connection_adapters/mysql2_adapter'

module ActiveRecord
  module ConnectionAdapters
    class Mysql2Adapter < AbstractMysqlAdapter
      private

      def configure_connection_with_ignore
        configure_connection_without_ignore unless FreshConnection::SlaveConnection.ignore_configure_connection?
      end
      alias_method_chain :configure_connection, :ignore
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
fresh_connection-0.1.8 lib/fresh_connection/active_record/mysql2_adapter.rb
fresh_connection-0.1.7 lib/fresh_connection/active_record/mysql2_adapter.rb
fresh_connection-0.1.6 lib/fresh_connection/active_record/mysql2_adapter.rb
fresh_connection-0.1.5 lib/fresh_connection/active_record/mysql2_adapter.rb
fresh_connection-0.1.4 lib/fresh_connection/active_record/mysql2_adapter.rb
fresh_connection-0.1.3 lib/fresh_connection/active_record/mysql2_adapter.rb
fresh_connection-0.1.2 lib/fresh_connection/active_record/mysql2_adapter.rb
fresh_connection-0.1.1 lib/fresh_connection/active_record/mysql2_adapter.rb
fresh_connection-0.1.0 lib/fresh_connection/active_record/mysql2_adapter.rb