Flowdock
method

subclass_from_attributes

Importance_1
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: ClassMethods
subclass_from_attributes(attrs) private

Detect the subclass from the inheritance column of attrs. If the inheritance column value is not self or a valid subclass, raises ActiveRecord::SubclassNotFound

Show source
Register or log in to add new notes.