module Sequel::Database::ResetIdentifierMangling

Module to be included in shared adapters so that when the DatabaseMethods are included in the database, the identifier mangling defaults are reset correctly.

Public Instance Methods

extended(obj) click to toggle source
# File lib/sequel/database/misc.rb, line 31
def extended(obj)
  # :nocov:
  Sequel::Deprecation.deprecate("Sequel::Database::ResetIdentifierMangling is no longer needed and will be removed in Sequel 5.  Please update your adapter.")
  obj.send(:reset_identifier_mangling) if obj.respond_to?(:reset_identifier_mangling)
  # :nocov:
end