Skip to content

Commit

Permalink
Make Rails/EagerEvaluationLogMessage enabled by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Uaitt committed Sep 13, 2024
1 parent 5dc42d5 commit f787de2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* [#1364](https://github.com/rubocop/rubocop-rails/pull/1364): Make `Rails/EagerEvaluationLogMessage` enabled by default. ([@Uaitt][])
3 changes: 2 additions & 1 deletion config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -415,8 +415,9 @@ Rails/DynamicFindBy:
Rails/EagerEvaluationLogMessage:
Description: 'Checks that blocks are used for interpolated strings passed to `Rails.logger.debug`.'
Reference: 'https://guides.rubyonrails.org/debugging_rails_applications.html#impact-of-logs-on-performance'
Enabled: pending
Enabled: true
VersionAdded: '2.11'
VersionChanged: '2.26'

Rails/EnumHash:
Description: 'Prefer hash syntax over array syntax when defining enums.'
Expand Down

0 comments on commit f787de2

Please sign in to comment.