method

polymorphic_class_for

Importance_1
v7.1.3.4 - Show latest stable - 0 notes - Class: 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.

Show source
Register or log in to add new notes.