All pastes #2110313 Raw Edit

Miscellany

public text v1 · immutable
#2110313 ·published 2012-02-06 15:01 UTC
rendered paste body
Completed 500 Internal Server Error in 1354ms
** [Hoptoad] Failure: Net::HTTPBadGateway
** [Hoptoad] Environment Info: [Ruby: 1.9.2] [Rails: 3.1.3] [Env: production]
** [Hoptoad] Response from Hoptoad: 
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8" />
  <title>Airbrake</title>
  <link rel="fluid-icon" href="/images/airbrake-fluid.png" />
  <link href="/stylesheets/application.css" media="all" rel="stylesheet" type="text/css" />
</head>
<body class="static modal">

  <div id="header">
    <div id="lilypad"></div>
    <h1><a href="/">Airbrake</a></h1>
    <ul id="navigation">
    </ul>
  </div>

  <div id="content">

    <div id="main" style="width: 880px;">
      <div class="main_top">
        <h2>Application Error</h2>
      </div>
      <div class="main_content_inner" style="padding: 15px 25px; font-size: 1.5em;">
        <p>Error 500. We're sorry, but something went wrong.  We've been notified about the issue and will review it as soon as possible.</p>
        <p>Check our <a href="http://status.airbrake.io/">status site</a> for updates if you see ongoing issues.</p>
        <p><a href="/">&larr; Back to homepage</a></p>
        <!-- AIRBRAKE ERROR -->
      </div>
    </div><!-- #main -->

  </div><!-- #content -->

  <div id="footer" class="clearfix">
    <div class="service">
      <a href="http://airbrake.io/">Airbrake</a> &copy; 2011
    </div>
    <a href="http://blog.airbrake.io">Airbrake blog</a> <span class="vercial_line">|</span>
    <a href="/pages/api">API Overview</a> <span class="vercial_line">|</span>
    <a href="http://status.airbrake.io">Status site</a> <span class="vercial_line">|</span>
    <a href="http://help.airbrake.io">Help site</a> <span class="vercial_line">|</span>
    <a href="/pages/terms">Terms of Service</a> <span class="vercial_line">|</span>
    <a href="/pages/privacy">Privacy Policy</a>
  </div>

</body>
</html>

ActionView::Template::Error (undefined method `id' for nil:NilClass):
    3:     = render 'shared/overlays/sign_in'
    4:   - if Platform.instance.show_lead_overlay && (controller.controller_name == 'deals')
    5:     = render_cell :newsletter_signup, :show, :as => :overlay, :city_id => preselected_city_id, :current_newsletterable => current_newsletterable
  app/models/newsletter.rb:15:in `block in <class:Newsletter>'
  app/shared/newsletterable.rb:32:in `newsletter_in'
  app/shared/newsletterable.rb:11:in `has_requested_but_not_confirmed_newsletter?'
  app/cells/newsletter_signup_cell.rb:10:in `show'
  app/views/shared/_overlays.html.haml:6:in `_ap