method
humanize
v1.0.0 -
Show latest stable
- Class:
ActiveSupport::CoreExtensions::String::Inflections
humanize()public
Capitalizes the first word and turns underscores into spaces and strips _id, so "employee_salary" becomes "Employee salary" and "author_id" becomes "Author".