title: Devise Forgot password is creating a link with localhost on product?
body: <p>We're using the standard devise forgot password mailer:</p>
  
  <pre><code>&lt;p&gt;Hello &lt;%= @resource.email %&gt;!&lt;/p&gt;
  
  &lt;p&gt;Someone has requested a link to change your password, and you can do this through the link below.&lt;/p&gt;
  
  &lt;p&gt;&lt;%= link_to 'Change my password', edit_password_url(@resource, :reset_password_token =&gt; @resource.reset_password_token) %&gt;&lt;/p&gt;
  </code></pre>
  
  <p>On production this is generating a localhost url for Change Password:</p>
  
  <pre><code>http://localhost:3000/users/password/edit?reset_password_token=amqs2q9NcM1FerHKhmzV
  </code></pre>
  
  <p>This is strange given the production.rb file has our domain:</p>
  
  <pre><code>config.action_mailer.default_url_options = { :host =&gt; 'mysite.com' }
  </code></pre>
  
  <p>Why is mysite.com not being used in the URL? Ideas?</p>
  
  <p>Thanks</p>