Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rails 7 deprecates ActiveSupport's `Enum#sum` in favor of Ruby's one, which requires an initial argument when the elements are not numeric. Here, it's easier to just use `Enum#flatten`.
- Loading branch information