Class: ApplicationRecord
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- ApplicationRecord
- Defined in:
- lib/generators/templates/application_record.rb
Instance Method Summary collapse
-
#human_attribute_name(*args) ⇒ Object
Wrapper for @model.human_attribute_name -> Model.human_attribute_name.
Instance Method Details
#human_attribute_name(*args) ⇒ Object
Wrapper for @model.human_attribute_name -> Model.human_attribute_name
5 6 7 |
# File 'lib/generators/templates/application_record.rb', line 5 def human_attribute_name(*args) self.class.human_attribute_name(*args) end |