Makes it seem like config.action_mailer.default_url_options doesn't get set correctly, but this clearly happens in production.rb so I'm unclear what the issue is.
INFO2023-11-27T23:35:00.668Z pid=61 tid=291h class=ActionMailer::MailDeliveryJob jid=a0460222864f08398d611edd INFO: start
INFOI, [2023-11-27T23:35:00.669366 #61] INFO -- : [ActiveJob] [ActionMailer::MailDeliveryJob] [ae1c7268-7c2d-46c6-a77e-efa087a58beb] Performing ActionMailer::MailDeliveryJob (Job ID: ae1c7268-7c2d-46c6-a77e-efa087a58beb) from Sidekiq(default) enqueued at 2023-11-27T23:34:39Z with arguments: "UserMailer", "invited", "deliver_now", {:args=>["7200e9eb0ad6abde14db686fa3a307ce"]}
ERRORE, [2023-11-27T23:35:00.682046 #61] ERROR -- : [ActiveJob] [ActionMailer::MailDeliveryJob] [ae1c7268-7c2d-46c6-a77e-efa087a58beb] Error performing ActionMailer::MailDeliveryJob (Job ID: ae1c7268-7c2d-46c6-a77e-efa087a58beb) from Sidekiq(default) in 12.82ms: ArgumentError (Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true):
Makes it seem like
config.action_mailer.default_url_options
doesn't get set correctly, but this clearly happens inproduction.rb
so I'm unclear what the issue is.