I\'m working on a fairly traditional forgot password email - I want to email the user a password change token embedded in a link that they can click on in order to change th
Setting default_url_options directly is deprecated in Rails 3.1
Use the url_for helper to create it:
<%= link_to "click here", url_for(:controller => foo, :action => 'bar', :token => token, :host => 'www.yourdomain.com') %>