diff options
author | Eito Katagiri <eitoball@gmail.com> | 2013-10-12 20:47:57 +0900 |
---|---|---|
committer | Eito Katagiri <eitoball@gmail.com> | 2015-07-02 09:53:34 +0900 |
commit | c7fc843431ffd2b775cc798d4c2c844fee3c9958 (patch) | |
tree | 553ea6d398127b3afe2385bdd5f4211b4354e8d3 /activerecord/test/schema | |
parent | 776e5991a9abf11818cb803e80976cea8b454c17 (diff) | |
download | rails-c7fc843431ffd2b775cc798d4c2c844fee3c9958.tar.gz rails-c7fc843431ffd2b775cc798d4c2c844fee3c9958.tar.bz2 rails-c7fc843431ffd2b775cc798d4c2c844fee3c9958.zip |
fix pluralize behavior for words that consist of non-ascii characters
The code below returns "猫" in 3.2, but "猫s" in 4.0.
```ruby
ActiveSupport::Inflector.inflections do |inflect|
inflect.uncountable "猫"
end
"猫".pluralize
```
Diffstat (limited to 'activerecord/test/schema')
0 files changed, 0 insertions, 0 deletions