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

Fixing Standard Ruby #91

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Fixing Standard Ruby #91

wants to merge 1 commit into from

Conversation

gazayas
Copy link

@gazayas gazayas commented Jun 23, 2023

I saw #20, and I'm guessing what it means is we want to implement standard Ruby for the tests that are generated when running flush, etc.

In the meantime, this PR addresses the standard Ruby fixes when just running standardrb --fix against main.

@@ -4,7 +4,7 @@
# the maximum value specified for Puma. Default is set to 5 threads for minimum
# and maximum; this matches the default thread size of Active Record.
#
max_threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }
max_threads_count = ENV.fetch("RAILS_MAX_THREADS", 5)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I remember this fix or the one below it with PORT 3000 caused me some issues in another project I was working on, so we might need to double check or ignore these lines before merging the PR.

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.

1 participant