Skip to content

Commit a792f25

Browse files
committed
[Doc] Tweak the doc of Rails/FindByOrAssignmentMemoization
1 parent 2e782c7 commit a792f25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rubocop/cop/rails/find_by_or_assignment_memoization.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module Rails
99
# but `find_by` may return `nil`, in which case it is not memoized as intended.
1010
#
1111
# @safety
12-
# This cop is unsafe because detected `find_by` may not be activerecord's method,
12+
# This cop is unsafe because detected `find_by` may not be Active Record's method,
1313
# or the code may have a different purpose than memoization.
1414
#
1515
# @example

0 commit comments

Comments
 (0)