Flowdock
method

human

Importance_1
v3.2.3 - Show latest stable - 0 notes - Class: ActiveModel::Name
human(options={}) public

Transform the model name into a more humane format, using I18n. By default, it will underscore then humanize the class name

BlogPost.model_name.human # => "Blog post"

Specify options with additional translating options.

Show source
Register or log in to add new notes.