diff options
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_controller/support/inflector.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/support/inflector.rb b/actionpack/lib/action_controller/support/inflector.rb index 05ff4fede9..f78d34348c 100644 --- a/actionpack/lib/action_controller/support/inflector.rb +++ b/actionpack/lib/action_controller/support/inflector.rb @@ -48,6 +48,7 @@ module Inflector def plural_rules #:doc: [ [/(x|ch|ss)$/, '\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 [/sis$/, 'ses'], # basis, diagnosis |