search for: lower_case_and_underscored_word

Displaying 1 result from an estimated 1 matches for "lower_case_and_underscored_word".

2013 Nov 06
6
Feature: make capitalization optional in *humanize*
According to the documentation<http://api.rubyonrails.org/classes/ActiveSupport/Inflector.html#method-i-humanize> of ActiveSupport::Inflector: *humanize*(lower_case_and_underscored_word) Capitalizes the first word and turns underscores into spaces and strips a trailing “_id”, if any. * Example: humanize("employee_salary") # => "Employee salary"* I would like to submit a pull request for *humanize *to accept a second optional parameter that would all...