method
klass
v7.0.0 -
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.