Sha256: 61d94cd66a0bedf952cd9fe213337db1f29912d8d839300b77d277616f4eaec4

Contents?: true

Size: 509 Bytes

Versions: 29

Compression:

Stored size: 509 Bytes

Contents

# frozen_string_literal: true

module ActiveRecord
  class << Base
    m = Module.new do
      # Allow adapters to provide their own {#reset_column_information} method.
      # @note This only affects the current thread's connection.
      def reset_column_information # :nodoc:
        # invoke the adapter-specific reset_column_information method
        connection.reset_column_information if connection.respond_to?(:reset_column_information)
        super
      end
    end

    self.prepend(m)
  end
end

Version data entries

29 entries across 29 versions & 2 rubygems

Version Path
activerecord-jdbc-alt-adapter-61.0.0-java lib/arjdbc/jdbc/base_ext.rb
activerecord-jdbc-alt-adapter-60.1.0-java lib/arjdbc/jdbc/base_ext.rb
activerecord-jdbc-adapter-61.0-java lib/arjdbc/jdbc/base_ext.rb
activerecord-jdbc-adapter-60.3-java lib/arjdbc/jdbc/base_ext.rb
activerecord-jdbc-adapter-60.2-java lib/arjdbc/jdbc/base_ext.rb
activerecord-jdbc-alt-adapter-60.0.0-java lib/arjdbc/jdbc/base_ext.rb
activerecord-jdbc-adapter-60.1-java lib/arjdbc/jdbc/base_ext.rb
activerecord-jdbc-adapter-60.0-java lib/arjdbc/jdbc/base_ext.rb
activerecord-jdbc-adapter-60.0.rc1-java lib/arjdbc/jdbc/base_ext.rb