I have noticed an inconsistent behavior in pluralizing uncountable words
"rice".pluralize => "rice"
"WhiteRice".pluralize => "WhiteRices"
"white_rice".pluralize => "white_rices"

I have generated a patch that corrects this behavior to give the expected
results as follows
"rice".pluralize => "rice"
"WhiteRice".pluralize => "WhiteRice"
"white_rice".pluralize => "white_rice"

The commits can also be found at
http://github.com/xspond/rails/commit/33b18be4b1bd1d69887073fe46d6c3f882c7baff
http://github.com/xspond/rails/commit/d030faa81c35fc4c405ab79503958d9695baf211

Ticket at
https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/4836-patch-inconsistent-behavior-in-pluralizing-uncountable-words

David Genord II

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to