Groups
Groups
Sign in
Groups
Groups
Ruby on Rails: Talk
Conversations
About
Send feedback
Help
help with multiple production evvironmnets & devise config
5 views
Skip to first unread message
tom
unread,
Dec 7, 2018, 2:47:29 PM
12/7/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby on Rails: Talk
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: '
in...@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: '
in...@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
Reply all
Reply to author
Forward
0 new messages