Skip to content

Rails/Output-20230426233244#197

Open
github-actions[bot] wants to merge 3 commits intomasterfrom
rubocop-challenge/20230426233244
Open

Rails/Output-20230426233244#197
github-actions[bot] wants to merge 3 commits intomasterfrom
rubocop-challenge/20230426233244

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Rubocop challenge!

Rails/Output

Safe autocorrect: No
⚠️ The autocorrect a cop can yield false positives by design.

Description

Overview

Checks for the use of output calls like puts and print

Examples

# bad
puts 'A debug message'
pp 'A debug message'
print 'A debug message'

# good
Rails.logger.debug 'A debug message'

Auto generated by rubocop_challenger

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

0 participants