-
Notifications
You must be signed in to change notification settings - Fork 3
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
Update to Rails 7.1 #2822
base: main
Are you sure you want to change the base?
Update to Rails 7.1 #2822
Conversation
eb3a5b7
to
c2f801e
Compare
docker/Dockerfile
Outdated
&& bundle config --global without test development \ | ||
&& bundle config build.nokogiri --use-system-libraries \ | ||
&& bundle check || bundle install --jobs=4 --retry=3 | ||
# RUN gem install bundler -v $(cat Gemfile.lock | tail -1 | tr -d " ") \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
todo: Revert this as unique cmd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, assuming the dockerfile changes get reverted. (Alternatively, if we leave the RUN
statements in and delete the commented out code I think that would also be fine, as that's easier to debug).
30cc21b
to
dea60fd
Compare
dea60fd
to
2c77289
Compare
This reverts commit 1539a37.
3e2020c
to
047de41
Compare
047de41
to
19a321c
Compare
This reverts commit c534542.
631de55
to
ae568d1
Compare
|
end | ||
|
||
# see https://github.com/shadabahmed/logstasher | ||
config.logstasher.enabled = true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we deliberately switching off logstasher in production?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no,
I think rails update removed it, and I forgot to put it back
# Log disallowed deprecations. | ||
config.active_support.disallowed_deprecation = :log | ||
|
||
# Tell Active Support which deprecation messages to disallow. | ||
config.active_support.disallowed_deprecation_warnings = [] | ||
|
||
# Use default logging formatter so that PID and timestamp are not suppressed. | ||
config.log_formatter = Logger::Formatter.new | ||
|
||
# Use a different logger for distributed setups. | ||
# require "syslog/logger" | ||
# config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name') | ||
|
||
if ENV.fetch('RAILS_LOG_TO_STDOUT', nil).present? | ||
logger = ActiveSupport::Logger.new($stdout) | ||
logger.formatter = config.log_formatter | ||
config.logger = ActiveSupport::TaggedLogging.new(logger) | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should revert these line back
What
for consistency and "zeitwerk" name convention
Why
To keep VCD updated and secure