I did, what I have in my mail template is this...
<%= url_for :controller => "friend", :action=>"confirm_email",:only_path=> false %>
The error I get is this...
Missing host to link to! Please provide :host parameter or set default_url_options[:host]
I can pass in the host name, but then when I deploy my production
environment I'll have to remember to go in and change it. I'm looking
around now to see if there's a way to set it just once (maybe in the
If there's a way Rails can just figure it out, though, that would be
ideal. Are there global variables I can access, maybe, that I could
use to build out the beginning of the URL (the host name and the