mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
resistance is futile
This commit is contained in:
parent
bde96533b6
commit
4e32722594
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ module ActiveSupport
|
|||
p0 = plural[0]
|
||||
prest = plural[1..-1]
|
||||
|
||||
if singular[0,1].upcase == p0.upcase
|
||||
if s0.upcase == p0.upcase
|
||||
plural(/(#{s0})#{srest}$/i, '\1' + prest)
|
||||
plural(/(#{p0})#{prest}$/i, '\1' + prest)
|
||||
|
||||
|
|
Loading…
Reference in a new issue