Sha256: b64b10eed65e0e49fd5813c45c360b69f9514251422dddb8e3be691334a7efc4
Contents?: true
Size: 673 Bytes
Versions: 4
Compression:
Stored size: 673 Bytes
Contents
module ActiveRecord class Base # reopen class << self # Allow adapters to provide their own reset_column_information methods # # NOTE: This only affects the current thread's connection. def reset_column_information_with_arjdbc_base_ext # Invoke the adapter-specific reset_column_information method connection.reset_column_information if connection.respond_to?(:reset_column_information) reset_column_information_without_arjdbc_base_ext end alias_method_chain :reset_column_information, :arjdbc_base_ext unless instance_methods.include?("reset_column_information_without_arjdbc_base_ext") end end end
Version data entries
4 entries across 4 versions & 1 rubygems