Skip to content

Commit

Permalink
[Docs] Add missing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
koic committed Nov 4, 2023
1 parent c53f914 commit 4c1d89f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/rubocop/cop/rails/active_record_aliases.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ module Rails
# `update` but the method name remained same in the method definition.
#
# @example
# #bad
# # bad
# book.update_attributes!(author: 'Alice')
#
# #good
# # good
# book.update!(author: 'Alice')
class ActiveRecordAliases < Base
extend AutoCorrector
Expand Down
4 changes: 2 additions & 2 deletions lib/rubocop/cop/rails/eager_evaluation_log_message.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ module Rails
# when no output would be produced anyway.
#
# @example
# #bad
# # bad
# Rails.logger.debug "The time is #{Time.zone.now}."
#
# #good
# # good
# Rails.logger.debug { "The time is #{Time.zone.now}." }
#
class EagerEvaluationLogMessage < Base
Expand Down

0 comments on commit 4c1d89f

Please sign in to comment.