Sha256: 5cc5b0108c61791aa4e8422756b1fdaa49e891f9187e92ba48c4de597524544d
Contents?: true
Size: 284 Bytes
Versions: 33
Compression:
Stored size: 284 Bytes
Contents
require 'gettext_i18n_rails/active_model/translation' class ActiveRecord::Base extend ActiveModel::Translation def self.human_attribute_name(*args) super(*args) end # method deprecated in Rails 3.1 def self.human_name(*args) _(self.humanize_class_name) end end
Version data entries
33 entries across 33 versions & 1 rubygems