Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autofix Rails/EagerEvaluationLogMessage #23429

Merged
merged 2 commits into from
Feb 7, 2023

Conversation

nschonni
Copy link
Contributor

@nschonni nschonni commented Feb 7, 2023

Noticed this message on on of the other PRs, and read the https://guides.rubyonrails.org/debugging_rails_applications.html#impact-of-logs-on-performance.
Seems like a safe/performance related change, os I ran bundle exec rubocop -a --only Rails/EagerEvaluationLogMessage to just autofix the one issue

@nschonni nschonni force-pushed the Rail-EagerEvaluationLogMessage branch from 5b5980e to e76c227 Compare February 7, 2023 01:38
@nschonni nschonni changed the title Autofix Rails/EagerEvaluationLogMessage: Autofix Rails/EagerEvaluationLogMessage Feb 7, 2023
@Gargron Gargron merged commit ed57005 into mastodon:main Feb 7, 2023
@nschonni nschonni deleted the Rail-EagerEvaluationLogMessage branch February 7, 2023 02:47
btrd pushed a commit to btrd/mastodon that referenced this pull request Feb 22, 2023
* Autofix Rails/EagerEvaluationLogMessage

* Update spec for debug block syntax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants