### Rails 7 adds maximum and minimum methods to Enumerable

Rails 7 adds Enumerable#maximum and Enumerable#minimum to calculate the maximum or minimum from extracted elements of an enumerable.