title: "Missing host to link to!" for Devise
body: <p>I installed Devise and things seem to stop up whenever I try to create an account.</p>
  
  <p>The full error reads:</p>
  
  <p><code>Missing host to link to! Please provide :host parameter or set default_url_options[:host]</code></p>
  
  <p>I've got the following code sitting in inside the development.rb block.  I've tried it with and without the added smtp configurations.</p>
  
  <pre><code>config.action_mailer.default_url_options = { :host =&gt; 'localhost' }  
  config.action_mailer.delivery_method = :smtp
  ...
  </code></pre>
  
  <p>Have I defined <code>host</code> incorrectly?</p>