spec/models/has_paper_trail_spec.rb
Prefer each
over for
. Open
Open
for version in Version.all
- Read upRead up
- Exclude checks
This cop looks for uses of the for keyword, or each method. The preferred alternative is set in the EnforcedStyle configuration parameter. An each call with a block on a single line is always allowed, however.