method
polymorphic_class_for
v6.1.7.7 -
Show latest stable
- Class:
ActiveRecord::Inheritance::ClassMethods
polymorphic_class_for(name)public
Returns the class for the provided name.
It is used to find the class correspondent to the value stored in the polymorphic type column.