mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
corrected the output of maximum in ActiveSupport changelog
This commit is contained in:
parent
7762770805
commit
40770b6878
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
||||||
payments = [Payment.new(5), Payment.new(15), Payment.new(10)]
|
payments = [Payment.new(5), Payment.new(15), Payment.new(10)]
|
||||||
|
|
||||||
payments.minimum(:price) # => 5
|
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.
|
This also allows passing enumerables to `fresh_when` and `stale?` in Action Controller.
|
||||||
|
|
Loading…
Reference in a new issue