Displaying 1 result from an estimated 1 matches for "production_url".
Did you mean:
production_rw
2008 Sep 02
3
Unable to set default_url_options[:host] for Action Mailer
...ith the request host needed to
generate a url.
Here is my code:
In config/environments/development.rb
config.action_mailer.default_url_options = { :host =>
"development_url.com" }
and in config/environments/production.rb
config.action_mailer.default_url_options = { :host =>
"production_url.com" }
When I run the above code ActionMailer fails, and tells me that I never
provided it with the request host. I think ActionMailer is a dirty
liar.
Any suggestions for a fix?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received...