123456789_123456789_123456789_123456789_123456789_

Module: ActiveRecord::Translation

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Extended In:
Super Chains via Extension / Inclusion / Inheritance
Instance Chain:
Defined in: activerecord/lib/active_record/translation.rb

Instance Method Summary

::ActiveModel::Translation - Included

#human_attribute_name

Transforms attribute names into a more human format, such as “First name” instead of “first_name”.

#i18n_scope

Returns the #i18n_scope for the class.

#lookup_ancestors

When localizing a string, it goes through the lookup returned by this method, which is used in ActiveModel::Name#human, ActiveModel::Errors#full_messages and ActiveModel::Translation#human_attribute_name.

::ActiveModel::Naming - Included

#model_name

Returns an ::ActiveModel::Name object for module.