urlヘルパーでホストを指定
app.root_url(host: 'http://www.customdomain.org', protocol: 'https')
=> "https://www.customdomain.org/"
Set the Domain or Host in Rails URL Helpers - Today I Learned
app.root_url(host: 'http://www.customdomain.org', protocol: 'https')
=> "https://www.customdomain.org/"
Set the Domain or Host in Rails URL Helpers - Today I Learned