Class: ApplicationRecord

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/generators/templates/application_record.rb

Instance Method Summary collapse

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