ActiveRecord::Core::ClassMethods

module ActiveRecord::Core::ClassMethods

Public Instance Methods

===(object) Show source

Overwrite the default class equality method to provide support for association proxies.

# File activerecord/lib/active_record/core.rb, line 262
def ===(object)
  object.is_a?(self)
end