ActiveRecord::Core::ClassMethods
module ActiveRecord::Core::ClassMethods
Public Instance Methods
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
allocate登录查看完整内容