code5thshade / issues

0 stars 0 forks source link

NilClass#home (ActionView::Template::Error) "undefined method `name' for nil:NilClass" #18

Open code5thshade opened 10 years ago

code5thshade commented 10 years ago
Exceptionundefined method `name' for nil:NilClass
Last OccurrenceJuly 20, 2014 17:06:45 +0530
Count2

Stack Trace

[app].../app/views/layouts/application.html.haml:139:in `_app_views_layouts_application_html_haml__1907543438767996721_48241860'
[bundle].../gems/actionpack-4.0.1/lib/action_view/template.rb:143:in `block in render'
[bundle].../gems/activesupport-4.0.1/lib/active_support/notifications.rb:161:in `instrument'
[bundle].../gems/actionpack-4.0.1/lib/action_view/template.rb:141:in `render'
[bundle].../gems/actionpack-4.0.1/lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
[bundle].../gems/actionpack-4.0.1/lib/action_view/renderer/template_renderer.rb:47:in `render_template'
[bundle].../gems/actionpack-4.0.1/lib/action_view/renderer/template_renderer.rb:17:in `render'
[bundle].../gems/actionpack-4.0.1/lib/action_view/renderer/renderer.rb:42:in `render_template'
[bundle].../gems/actionpack-4.0.1/lib/action_view/renderer/renderer.rb:23:in `render'
[bundle].../gems/actionpack-4.0.1/lib/abstract_controller/rendering.rb:127:in `_render_template'
[bundle].../gems/actionpack-4.0.1/lib/action_controller/metal/streaming.rb:219:in `_render_template'
[bundle].../gems/actionpack-4.0.1/lib/abstract_controller/rendering.rb:120:in `render_to_body'
[bundle].../gems/actionpack-4.0.1/lib/action_controller/metal/rendering.rb:33:in `render_to_body'
[bundle].../gems/actionpack-4.0.1/lib/action_controller/metal/renderers.rb:26:in `render_to_body'
[bundle].../gems/actionpack-4.0.1/lib/abstract_controller/rendering.rb:97:in `render'
[bundle].../gems/actionpack-4.0.1/lib/action_controller/metal/rendering.rb:16:in `render'
[bundle].../gems/actionpack-4.0.1/lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
[bundle].../gems/activesupport-4.0.1/lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/usr/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
[bundle].../gems/activesupport-4.0.1/lib/active_support/core_ext/benchmark.rb:12:in `ms'
[bundle].../gems/actionpack-4.0.1/lib/action_controller/metal/instrumentation.rb:41:in `block in render'
[bundle].../gems/actionpack-4.0.1/lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
[bundle].../gems/activerecord-4.0.1/lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
[bundle].../gems/actionpack-4.0.1/lib/action_controller/metal/instrumentation.rb:40:in `render'
[app].../app/controllers/businesses_controller.rb:11:in `home'
[bundle].../gems/actionpack-4.0.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
[bundle].../gems/actionpack-4.0.1/lib/abstract_controller/base.rb:189:in `process_action'
[bundle].../gems/actionpack-4.0.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
[bundle].../gems/actionpack-4.0.1/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
[bundle].../gems/activesupport-4.0.1/lib/active_support/callbacks.rb:433:in `_run__561895043687072285__process_action__callbacks'
[bundle].../gems/activesupport-4.0.1/lib/active_support/callbacks.rb:80:in `run_callbacks'
[bundle].../gems/actionpack-4.0.1/lib/abstract_controller/callbacks.rb:17:in `process_action'
[bundle].../gems/actionpack-4.0.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
[bundle].../gems/actionpack-4.0.1/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
[bundle].../gems/activesupport-4.0.1/lib/active_support/notifications.rb:159:in `block in instrument'
[bundle].../gems/activesupport-4.0.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
[bundle].../gems/activesupport-4.0.1/lib/active_support/notifications.rb:159:in `instrument'
[bundle].../gems/actionpack-4.0.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
[bundle].../gems/actionpack-4.0.1/lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
[bundle].../gems/activerecord-4.0.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
[bundle].../gems/actionpack-4.0.1/lib/abstract_controller/base.rb:136:in `process'
[bundle].../gems/actionpack-4.0.1/lib/abstract_controller/rendering.rb:44:in `process'
[bundle].../gems/actionpack-4.0.1/lib/action_controller/metal.rb:195:in `dispatch'
[bundle].../gems/actionpack-4.0.1/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
[bundle].../gems/actionpack-4.0.1/lib/action_controller/metal.rb:231:in `block in action'
[bundle].../gems/actionpack-4.0.1/lib/action_dispatch/routing/route_set.rb:80:in `call'
[bundle].../gems/actionpack-4.0.1/lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
[bundle].../gems/actionpack-4.0.1/lib/action_dispatch/routing/route_set.rb:48:in `call'
[bundle].../gems/actionpack-4.0.1/lib/action_dispatch/journey/router.rb:71:in `block in call'
[bundle].../gems/actionpack-4.0.1/lib/action_dispatch/journey/router.rb:59:in `each'
[bundle].../gems/actionpack-4.0.1/lib/action_dispatch/journey/router.rb:59:in `call'
[bundle].../gems/actionpack-4.0.1/lib/action_dispatch/routing/route_set.rb:680:in `call'
[bundle].../gems/omniauth-1.2.1/lib/omniauth/strategy.rb:186:in `call!'
[bundle].../gems/omniauth-1.2.1/lib/omniauth/strategy.rb:164:in `call'
[bundle].../gems/omniauth-1.2.1/lib/omniauth/builder.rb:59:in `call'
[bundle].../gems/party_foul-1.5.2/lib/party_foul/middleware.rb:8:in `call'
[bundle].../gems/warden-1.2.3/lib/warden/manager.rb:35:in `block in call'
[bundle].../gems/warden-1.2.3/lib/warden/manager.rb:34:in `catch'
[bundle].../gems/warden-1.2.3/lib/warden/manager.rb:34:in `call'
[bundle].../gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
[bundle].../gems/rack-1.5.2/lib/rack/conditionalget.rb:25:in `call'
[bundle].../gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
[bundle].../gems/actionpack-4.0.1/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
[bundle].../gems/actionpack-4.0.1/lib/action_dispatch/middleware/flash.rb:241:in `call'
[bundle].../gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
[bundle].../gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
[bundle].../gems/actionpack-4.0.1/lib/action_dispatch/middleware/cookies.rb:486:in `call'
[bundle].../gems/activerecord-4.0.1/lib/active_record/query_cache.rb:36:in `call'
[bundle].../gems/activerecord-4.0.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
[bundle].../gems/actionpack-4.0.1/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
[bundle].../gems/activesupport-4.0.1/lib/active_support/callbacks.rb:373:in `_run__123249983486749048__call__callbacks'
[bundle].../gems/activesupport-4.0.1/lib/active_support/callbacks.rb:80:in `run_callbacks'
[bundle].../gems/actionpack-4.0.1/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
[bundle].../gems/actionpack-4.0.1/lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
[bundle].../gems/actionpack-4.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
[bundle].../gems/actionpack-4.0.1/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
[bundle].../gems/railties-4.0.1/lib/rails/rack/logger.rb:38:in `call_app'
[bundle].../gems/railties-4.0.1/lib/rails/rack/logger.rb:20:in `block in call'
[bundle].../gems/activesupport-4.0.1/lib/active_support/tagged_logging.rb:67:in `block in tagged'
[bundle].../gems/activesupport-4.0.1/lib/active_support/tagged_logging.rb:25:in `tagged'
[bundle].../gems/activesupport-4.0.1/lib/active_support/tagged_logging.rb:67:in `tagged'
[bundle].../gems/railties-4.0.1/lib/rails/rack/logger.rb:20:in `call'
[bundle].../gems/actionpack-4.0.1/lib/action_dispatch/middleware/request_id.rb:21:in `call'
[bundle].../gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
[bundle].../gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
[bundle].../gems/activesupport-4.0.1/lib/active_support/cache/strategy/local_cache.rb:83:in `call'
[bundle].../gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
[bundle].../gems/railties-4.0.1/lib/rails/engine.rb:511:in `call'
[bundle].../gems/railties-4.0.1/lib/rails/application.rb:97:in `call'
[bundle].../gems/unicorn-4.8.2/lib/unicorn/http_server.rb:572:in `process_client'
[bundle].../gems/unicorn-4.8.2/lib/unicorn/http_server.rb:666:in `worker_loop'
[bundle].../gems/unicorn-4.8.2/lib/unicorn/http_server.rb:521:in `spawn_missing_workers'
[bundle].../gems/unicorn-4.8.2/lib/unicorn/http_server.rb:140:in `start'
[bundle].../gems/unicorn-4.8.2/bin/unicorn:126:in `'
[bundle].../bin/unicorn:23:in `load'
[bundle].../bin/unicorn:23:in `
'

Fingerprint: 3767bc13dc91fdedcd7150cedf80c8bbdfbd3084

code5thshade commented 10 years ago
Occurred AtJuly 20, 2014 17:06:24 +0530
URL[GET] /
Params
controllerbusinesses
actionhome
Session
IP Address116.202.76.102
HTTP Headers
VersionHTTP/1.0
User AgentMozilla/5.0 (Macintosh; Intel Mac OS X 10_10_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36
Accept Encodinggzip,deflate,sdch
Accepttext/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
code5thshade commented 10 years ago
Occurred AtJuly 20, 2014 17:06:45 +0530
URL[GET] /
Params
controllerbusinesses
actionhome
Session
IP Address116.202.76.102
HTTP Headers
VersionHTTP/1.0
User AgentMozilla/5.0 (Macintosh; Intel Mac OS X 10_10_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36
Accept Encodinggzip,deflate,sdch
Accepttext/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8