method

sti_class_for

rails latest stable - Class: ActiveRecord::Inheritance::ClassMethods
sti_class_for(type_name)
public

Returns the class for the provided type_name.

It is used to find the class correspondent to the value stored in the inheritance column.