diff options
author | Jeremy Daer <jeremydaer@gmail.com> | 2016-09-21 17:54:36 -0700 |
---|---|---|
committer | Jeremy Daer <jeremydaer@gmail.com> | 2016-09-21 17:54:39 -0700 |
commit | 12d06dd91dd189df73186b0f537301dbac8af2e2 (patch) | |
tree | 13f378db09421371b0e209d2c16b8407aa41f261 /activesupport/lib/active_support/execution_wrapper.rb | |
parent | 19966242163611e61d45ee4033f28aa6f967906a (diff) | |
download | rails-12d06dd91dd189df73186b0f537301dbac8af2e2.tar.gz rails-12d06dd91dd189df73186b0f537301dbac8af2e2.tar.bz2 rails-12d06dd91dd189df73186b0f537301dbac8af2e2.zip |
Undeprecate plural positional argument
```ruby
pluralize people.count, 'person', 'people'
```
reads more naturally than
```ruby
pluralize people.count, 'person', plural: 'people'
```
so let's not deprecate it.
We could label both, but that's a mouthful:
```ruby
pluralize people.count, singular: 'person', plural: 'people'
```
(The `plural:` kwarg shipped in 5.0.0, so we're keeping it.)
Diffstat (limited to 'activesupport/lib/active_support/execution_wrapper.rb')
0 files changed, 0 insertions, 0 deletions