• J
    Pass the current locale to Inflector from the pluralize text helper. · 82aab15d
    Jaime Iniesta 提交于
    The pluralize text helper uses the Inflector to determine the plural
    form. The inflector accepts an optional parameter for the locale,
    so we can pass it from the text helper to have locale-aware pluralizations
    on the text helpers level.
    
    The pluralize text helper now only accepts 2 positional arguments:
    `count` and `singular`. Passing `plural` as a positional argument
    is now deprecated.
    82aab15d
text_helper_test.rb 21.7 KB