1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #28320 from y-yagi/fix_typo_titleize

Fix typo `titlelize` -> `titleize` [ci skip]
This commit is contained in:
Jon Moss 2017-03-06 18:11:11 -05:00 committed by GitHub
commit 410f876dad

View file

@ -1,6 +1,6 @@
* Update `titlelize` regex to allow apostrophes * Update `titleize` regex to allow apostrophes
In 4b685aa the regex in `titlelize` was updated to not match apostrophes to In 4b685aa the regex in `titleize` was updated to not match apostrophes to
better reflect the nature of the transformation. Unfortunately this had the better reflect the nature of the transformation. Unfortunately this had the
side effect of breaking capitalization on the first word of a sub-string, e.g: side effect of breaking capitalization on the first word of a sub-string, e.g: