Skip to content

Instantly share code, notes, and snippets.

@evanworley
Created December 8, 2009 18:28
Show Gist options
  • Save evanworley/251874 to your computer and use it in GitHub Desktop.
Save evanworley/251874 to your computer and use it in GitHub Desktop.
ActionView::TemplateError (You have a nil object when you didn't expect it!
The error occurred while evaluating nil.reset_key) on line #16 of app/views/main/feedback.html.haml:
13: var feedback_widget = new GSFN.feedback_widget(feedback_widget_options);
14:
15: - unless session_account.nil?
16: = FastPass.script(FASTPASS_KEY, FASTPASS_SECRET, session_account.email, session_account.first_name, session_account.id)
/usr/local/lib/ruby/gems/1.9.1/gems/ruby-hmac-0.3.2/lib/hmac.rb:101:in `ensure in digest'
/usr/local/lib/ruby/gems/1.9.1/gems/ruby-hmac-0.3.2/lib/hmac.rb:101:in `digest'
oauth (0.3.6) lib/oauth/signature/hmac/base.rb:9:in `digest'
oauth (0.3.6) lib/oauth/signature/base.rb:54:in `signature'
oauth (0.3.6) lib/oauth/signature.rb:20:in `sign'
oauth (0.3.6) lib/oauth/client/helper.rb:44:in `signature'
oauth (0.3.6) lib/oauth/client/net_http.rb:104:in `set_oauth_query_string'
oauth (0.3.6) lib/oauth/client/net_http.rb:35:in `oauth!'
lib/fastpass.rb:37:in `url'
lib/fastpass.rb:60:in `script'
app/views/main/feedback.html.haml:16:in `_run_haml_app47views47main47feedback46html46haml'
haml (2.2.9) lib/haml/helpers/action_view_mods.rb:13:in `render_with_haml'
haml (2.2.9) lib/haml/helpers/action_view_mods.rb:13:in `render_with_haml'
haml (2.2.9) lib/sass/plugin/rails.rb:19:in `process'
<internal:prelude>:8:in `synchronize'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment