Skip to content

Instantly share code, notes, and snippets.

@chrisgarrity
Created June 21, 2011 18:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisgarrity/1038499 to your computer and use it in GitHub Desktop.
Save chrisgarrity/1038499 to your computer and use it in GitHub Desktop.
Type error stack trace
Error during failsafe response: ActionView::Template::Error
/Users/chris/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.8/lib/active_support/whiny_nil.rb:48:in `method_missing'
/Users/chris/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.8/lib/action_dispatch/http/parameters.rb:10:in `parameters'
/Users/chris/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb:3:in `___sers_chri
s__rvm_gems_ruby_______p____gems_actionpack_______lib_action_dispatch_middleware_templates_rescues_diagnostics_erb__788921121_14686860__1028345533
'
/Users/chris/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.8/lib/action_view/template.rb:135:in `block in render'
/Users/chris/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.8/lib/active_support/notifications.rb:54:in `instrument'
/Users/chris/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.8/lib/action_view/template.rb:127:in `render'
/Users/chris/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.8/lib/action_view/render/rendering.rb:59:in `block in _render_template'
/Users/chris/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.8/lib/active_support/notifications.rb:52:in `block in instrument'
/Users/chris/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.8/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/Users/chris/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.8/lib/active_support/notifications.rb:52:in `instrument'
/Users/chris/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.8/lib/action_view/render/rendering.rb:56:in `_render_template'
/Users/chris/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.8/lib/action_view/render/rendering.rb:26:in `render'
/Users/chris/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.8/lib/action_dispatch/middleware/show_exceptions.rb:88:in `rescue_action_locally'
/Users/chris/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.8/lib/action_dispatch/middleware/show_exceptions.rb:68:in `render_exception'
/Users/chris/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.8/lib/action_dispatch/middleware/show_exceptions.rb:59:in `call'
/Users/chris/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.8/lib/rails/rack/logger.rb:13:in `call'
/Users/chris/.rvm/gems/ruby-1.9.2-p180/gems/rack-1.2.3/lib/rack/runtime.rb:17:in `call'
/Users/chris/.rvm/gems/ruby-1.9.2-p180/gems/activesupport-3.0.8/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
/Users/chris/.rvm/gems/ruby-1.9.2-p180/gems/rack-1.2.3/lib/rack/lock.rb:11:in `block in call'
<internal:prelude>:10:in `synchronize'
/Users/chris/.rvm/gems/ruby-1.9.2-p180/gems/rack-1.2.3/lib/rack/lock.rb:11:in `call'
/Users/chris/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.8/lib/action_dispatch/middleware/static.rb:30:in `call'
/Users/chris/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.8/lib/rails/application.rb:168:in `call'
/Users/chris/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.8/lib/rails/application.rb:77:in `method_missing'
/Users/chris/.rvm/gems/ruby-1.9.2-p180/gems/railties-3.0.8/lib/rails/rack/log_tailer.rb:14:in `call'
/Users/chris/.rvm/gems/ruby-1.9.2-p180/gems/rack-1.2.3/lib/rack/content_length.rb:13:in `call'
/Users/chris/.rvm/gems/ruby-1.9.2-p180/gems/rack-1.2.3/lib/rack/handler/webrick.rb:52:in `service'
/Users/chris/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
/Users/chris/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
/Users/chris/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
Started POST "/projects" for 127.0.0.1 at 2011-06-20 15:28:51 -0400
TypeError (can't convert nil into Integer):
Rendered /Users/chris/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.0.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within resc
ues/layout (1.0ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment