【发布时间】:2016-06-09 05:38:57
【问题描述】:
我正在关注 hartl rails 教程书,并且正在制作邮件。我现在在电子邮件预览部分,有这段代码:
config.action_mailer.raise_delivery_errors = true
config.action_mailer.delivery_method = :test
host = 'example.com'
config.action_mailer.default_url_options = { host: host }
inside config/environments/development.rb
说明说将其更改为host = 'rails-tutorial-c9-mhartl.c9.io',但使用您自己的名字。我已将其更改为 rails-tutorial-iylin.c9.io 但它不起作用(如果我的名字是 iylin,它不应该起作用吗?)。我找到了这个c9.io - how to find the host address to make a mysql connection in node.js platform,但那里的最佳答案也不起作用。
【问题讨论】:
-
您在哪个网址运行您的云 IDE 应用程序?
标签: ruby-on-rails