instance method
human_name
Ruby on Rails 3.0.20
Since v3.0.20 Last seen in v3.0.20Signature
human_name(*args)
Model.human_name is deprecated. Use Model.model_name.human instead.
Parameters
-
argsrest
Source
# File activemodel/lib/active_model/translation.rb, line 60
def human_name(*args)
ActiveSupport::Deprecation.warn("human_name has been deprecated, please use model_name.human instead", caller[0,5])
model_name.human(*args)
end
Defined in activemodel/lib/active_model/translation.rb line 60
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveModel::Translation