We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Rails/FindByOrAssignmentMemoization
1 parent 2e782c7 commit a792f25Copy full SHA for a792f25
lib/rubocop/cop/rails/find_by_or_assignment_memoization.rb
@@ -9,7 +9,7 @@ module Rails
9
# but `find_by` may return `nil`, in which case it is not memoized as intended.
10
#
11
# @safety
12
- # This cop is unsafe because detected `find_by` may not be activerecord's method,
+ # This cop is unsafe because detected `find_by` may not be Active Record's method,
13
# or the code may have a different purpose than memoization.
14
15
# @example
0 commit comments