diff --git a/lib/rubocop/cop/rails/active_record_aliases.rb b/lib/rubocop/cop/rails/active_record_aliases.rb index 8d0e802fa3..7f7c854078 100644 --- a/lib/rubocop/cop/rails/active_record_aliases.rb +++ b/lib/rubocop/cop/rails/active_record_aliases.rb @@ -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 diff --git a/lib/rubocop/cop/rails/eager_evaluation_log_message.rb b/lib/rubocop/cop/rails/eager_evaluation_log_message.rb index 8fc230121f..45b3513c93 100644 --- a/lib/rubocop/cop/rails/eager_evaluation_log_message.rb +++ b/lib/rubocop/cop/rails/eager_evaluation_log_message.rb @@ -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