Sha256: 5693c1c504d3af8f038df36dbb310dce0fa6d798e0b77ab38920ec49eedcdbdb

Contents?: true

Size: 237 Bytes

Versions: 37

Compression:

Stored size: 237 Bytes

Contents

class ApplicationRecord < ActiveRecord::Base
  self.abstract_class = true

  # Wrapper for @model.human_attribute_name -> Model.human_attribute_name
  def human_attribute_name(*args)
    self.class.human_attribute_name(*args)
  end

end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
inline_forms-6.2.14 lib/generators/templates/application_record.rb
inline_forms-6.2.12 lib/generators/templates/application_record.rb
inline_forms-6.2.11 lib/generators/templates/application_record.rb
inline_forms-6.2.10 lib/generators/templates/application_record.rb
inline_forms-6.2.9 lib/generators/templates/application_record.rb
inline_forms-6.2.7 lib/generators/templates/application_record.rb
inline_forms-6.2.6 lib/generators/templates/application_record.rb
inline_forms-6.2.5 lib/generators/templates/application_record.rb
inline_forms-6.2.4 lib/generators/templates/application_record.rb
inline_forms-6.2.3 lib/generators/templates/application_record.rb
inline_forms-6.2.2 lib/generators/templates/application_record.rb
inline_forms-6.2.1 lib/generators/templates/application_record.rb
inline_forms-6.1.1 lib/generators/templates/application_record.rb
inline_forms-6.1.0 lib/generators/templates/application_record.rb
inline_forms-6.0.8 lib/generators/templates/application_record.rb
inline_forms-6.0.7 lib/generators/templates/application_record.rb
inline_forms-6.0.6 lib/generators/templates/application_record.rb
inline_forms-6.0.5 lib/generators/templates/application_record.rb
inline_forms-6.0.4 lib/generators/templates/application_record.rb
inline_forms-6.0.3 lib/generators/templates/application_record.rb