mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #41648 from alkesh26/fixed-incorrect-changelog-output
[ci skip] corrected the output of maximum in ActiveSupport changelog
This commit is contained in:
commit
55d913d34c
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
|||
payments = [Payment.new(5), Payment.new(15), Payment.new(10)]
|
||||
|
||||
payments.minimum(:price) # => 5
|
||||
payments.maximum(:price) # => 20
|
||||
payments.maximum(:price) # => 15
|
||||
```
|
||||
|
||||
This also allows passing enumerables to `fresh_when` and `stale?` in Action Controller.
|
||||
|
|
Loading…
Reference in a new issue