diff options
author | Eilis Hamilton <eilis@powershop.co.nz> | 2017-05-10 09:50:47 +1200 |
---|---|---|
committer | Eilis Hamilton <byrne.eilis@gmail.com> | 2017-05-19 13:58:19 +1200 |
commit | 7c45146b15e682de11251180eaa4e75ac50e07cd (patch) | |
tree | d80032b0ac77395d0f793bc1def95d5d761f4168 /activerecord/examples | |
parent | b9b4fa9154e7c81ddb2bac4c5d53a9cb98c3351e (diff) | |
download | rails-7c45146b15e682de11251180eaa4e75ac50e07cd.tar.gz rails-7c45146b15e682de11251180eaa4e75ac50e07cd.tar.bz2 rails-7c45146b15e682de11251180eaa4e75ac50e07cd.zip |
Fix pluralization of uncountables when given a locale
Previously apply_inflections would only use the :en uncountables
rather then the ones for the locale that was passed to pluralize or
singularize.
This changes apply_inflections to take a locale which it will use to
find the uncountables.
Diffstat (limited to 'activerecord/examples')
0 files changed, 0 insertions, 0 deletions