Skip to content

Commit cf52bef

Browse files
committed
[Fix #1618] Update the doc of Rails/RedundantActiveRecordAllMethod
Closes #1618.
1 parent 6e2e110 commit cf52bef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/rubocop/cop/rails/redundant_active_record_all_method.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module Rails
1212
# which can affect their behavior.
1313
#
1414
# @safety
15-
# This cop is unsafe for autocorrection if the receiver for `all` is not an Active Record object.
15+
# This cop is unsafe because false positives will occur if the receiver is not an Active Record object.
1616
#
1717
# @example
1818
# # bad

0 commit comments

Comments
 (0)