search for: employee_salary

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

2013 Nov 06
6
Feature: make capitalization optional in *humanize*
...n<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 allow the string to be *humanized without being capitalized*. *humanize*(lower_case_and_underscored_word, capitalize = true) Turns underscores...