ifmeorg/ifme

View on GitHub
lib/tasks/cleaner.rake

Summary

Maintainability
Test Coverage

Use find_each instead of each.
Open

    Strategy.all.each do |strategy|
Severity: Minor
Found in lib/tasks/cleaner.rake by rubocop

This cop is used to identify usages of all.each and change them to use all.find_each instead.

Example:

# bad
User.all.each

# good
User.all.find_each

There are no issues that match your filters.

Category
Status