Ruby on Rails Friday, December 7, 2018

hi, i have 2 (A&B) production env files, set/loaded by passenger.

here an excerpt from A:

config.active_record.dump_schema_after_migration = false
config.app_domain = 'fooooooo.com'
config.action_mailer.default_url_options = { host:
'https://www.fooooooo.com' }
config.action_mailer.asset_host = 'https://www.fooooooo.com'
config.action_mailer.default_options = {from: 'info@fooooooo.com'}


here an excerpt from B:

config.active_record.dump_schema_after_migration = false
config.app_domain = 'blablabla.com'
config.action_mailer.default_url_options = { host:
'https://www.blablabla.com' }
config.action_mailer.asset_host = 'https://www.blablabla.com'
config.action_mailer.default_options = {from: 'info@blablabla.com'}

but when i do a password reset from within devise mailer using B, the
links are still set to
https://fooooooo.com/users/password/edit?reset_password_token=NV19qyaA4FHhv825RV_V


i am not overidding anything anymore. all stock code


thx

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CADQqhMf%3D1-Z1kpgDpU09kA8HiX1HzNeymmvVY6gRSd9jeYiHfQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment