mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fixed rewriting of dashes, lashes
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@345 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
b64004fda6
commit
48f590a42e
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ module Inflector
|
|||
private
|
||||
def plural_rules #:doc:
|
||||
[
|
||||
[/(x|ch|ss)$/, '\1es'], # search, switch, fix, box, process, address
|
||||
[/(x|ch|ss|sh)$/, '\1es'], # search, switch, fix, box, process, address
|
||||
[/([^aeiouy]|qu)ies$/, '\1y'],
|
||||
[/([^aeiouy]|qu)y$/, '\1ies'], # query, ability, agency
|
||||
[/(?:([^f])fe|([lr])f)$/, '\1\2ves'], # half, safe, wife
|
||||
|
|
Loading…
Reference in a new issue