Skip to content

Commit aa5fb58

Browse files
Update env files
1 parent 8f14820 commit aa5fb58

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

config/environments/development.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@
6161
# Highlight code that enqueued background job in logs.
6262
config.active_job.verbose_enqueue_logs = true
6363

64+
# Highlight code that triggered redirect in logs.
65+
config.action_dispatch.verbose_redirect_logs = true
66+
67+
# Suppress logger output for asset requests.
68+
config.assets.quiet = true
69+
6470
# Raises error for missing translations.
6571
# config.i18n.raise_on_missing_translations = true
6672

config/environments/production.rb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
config.log_tags = [:request_id]
4040
config.logger = ActiveSupport::TaggedLogging.logger(STDOUT)
4141

42-
# Change to "debug" to log everything (including potentially personally-identifiable information!)
42+
# Change to "debug" to log everything (including potentially personally-identifiable information!).
4343
config.log_level = ENV.fetch('RAILS_LOG_LEVEL', 'info')
4444

4545
# Prevent health checks from clogging up the logs.
@@ -51,8 +51,9 @@
5151
# Replace the default in-process memory cache store with a durable alternative.
5252
# config.cache_store = :mem_cache_store
5353

54-
# Use a real queuing backend for Active Job (and separate queues per environment).
54+
# Replace the default in-process and non-durable queuing backend for Active Job.
5555
config.active_job.queue_adapter = :sidekiq
56+
5657
# Ignore bad email addresses and do not raise email delivery errors.
5758
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
5859
# config.action_mailer.raise_delivery_errors = false
@@ -61,7 +62,7 @@
6162
config.action_mailer.default_url_options = { host: 'www.theodinproject.com', protocol: 'https' }
6263
config.action_mailer.asset_host = 'https://www.theodinproject.com'
6364

64-
# Specify outgoing SMTP server. Remember to add smtp/* credentials via rails credentials:edit.
65+
# Specify outgoing SMTP server. Remember to add smtp/* credentials via bin/rails credentials:edit.
6566
# config.action_mailer.smtp_settings = {
6667
# user_name: Rails.application.credentials.dig(:smtp, :user_name),
6768
# password: Rails.application.credentials.dig(:smtp, :password),

0 commit comments

Comments
 (0)