instance method
sti_name
Ruby on Rails 5.2.8.1
Since v3.2.22.5Signature
sti_name()
No documentation comment.
Source
# File activerecord/lib/active_record/inheritance.rb, line 155
def sti_name
store_full_sti_class ? name : name.demodulize
end
Defined in activerecord/lib/active_record/inheritance.rb line 155
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Inheritance::ClassMethods