method
klass
v4.2.1 -
Show latest stable
- Class:
ActiveRecord::Associations::Association
klass()public
Returns the class of the target. belongs_to polymorphic overrides this to look at the polymorphic_type field on the owner.
klass()Returns the class of the target. belongs_to polymorphic overrides this to look at the polymorphic_type field on the owner.