title: Completed 500 Internal Server Error in Rails 4 Devise Signup process
body: <p>When I go to signup a new user on the site I fill in the form, click submit, and it sits there for a few seconds, then dispays 'We're sorry, but something went wrong.'</p>
  
  <p>The Log is below...</p>
  
  <p><a href="https://gist.github.com/th3cuda/225f1352a7cfeee3f8f8" rel="nofollow">https://gist.github.com/th3cuda/225f1352a7cfeee3f8f8</a></p>
  
  <p>This is deployed on digitalocean.</p>
  
  <p>production.rb</p>
  
  <pre><code># Use default logging formatter so that PID and timestamp are not suppressed.
  config.log_formatter = ::Logger::Formatter.new
  
  config.action_mailer.default_url_options = { :host =&gt; 'MY_HOST' }
  config.action_mailer.delivery_method = :smtp
  config.action_mailer.smtp_settings = {
    :address              =&gt; 'smtp.MY_DOMAIN.com',
    :port                 =&gt; 465,
    :domain               =&gt; 'MY_DOMAIN',
    :user_name            =&gt; 'MY_EMAIL',
    :password             =&gt; 'PASSWORD',
    :authentication       =&gt; 'plain',
    :enable_starttls_auto =&gt; true
  }
  end
  </code></pre>