Sha256: b6cb272587674068cb11c037defb0580bafdb4d4f0e9f478ac893d229bf0796b
Contents?: true
Size: 244 Bytes
Versions: 11
Compression:
Stored size: 244 Bytes
Contents
module ActiveRecord module ClassMethods def human_attribute_name(attribute, opts = {}) attribute = "activerecord.attributes.#{model_name.i18n_key}.#{attribute}" Hyperstack::Internal::I18n.t(attribute, opts) end end end
Version data entries
11 entries across 11 versions & 1 rubygems