Hi,
I’m wondering about what’s going on during this rails app:upgrade
from 8.0.0-rc1
to 8.0.0-rc2
It looks like the original app generation (new at rails 8.0.0-rc1) set itself up to use solid{cache,queue} but the incoming file are just other base defaults using mem and redis respectively.
I assume it is prudent to diff/grok these changes during app:upgrade
everytime?
I assume that these files (especially environments/*.rb
) will become increasing diverged from any original or default, so the trick is to spot the overhaul changes between more significant point releases
I’m new to rails and so really appreciate any gotchas here.
Thanks, R
Overwrite /Users/rob/<proj>/config/environments/production.rb? (enter "h" for help) [Ynaqdhm] d
--- /Users/rob/<proj>/config/environments/production.rb 2024-10-27 13:58:42
+++ /Users/rob/<proj>/config/environments/production.rb20241030-1793-x32jtt 2024-10-30 10:13:07
@@ -47,13 +47,11 @@
config.active_support.report_deprecations = false
# Replace the default in-process memory cache store with a durable alternative.
- config.cache_store = :solid_cache_store
+ # config.cache_store = :mem_cache_store
# Replace the default in-process and non-durable queuing backend for Active Job.
- config.active_job.queue_adapter = :solid_queue
- config.solid_queue.connects_to = { database: { writing: :queue } }
+ # config.active_job.queue_adapter = :resque
-
# Ignore bad email addresses and do not raise email delivery errors.
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
# config.action_mailer.raise_delivery_errors = false