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