datasektionen / purjo

Datasektionens tidigare hemsida (deprecated)
http://purjo.datasektionen.se
1 stars 0 forks source link

[production][nominees#show] NoMethodError: undefined method `formated' for nil:NilClass #58

Open Ior opened 12 years ago

Ior commented 12 years ago

See this exception on Errbit

NoMethodError: undefined method `formated' for nil:NilClass

Summary

URL

http://www.datasektionen.se/sektionen/val/335"

Where

nominees#show

Occured

Mar 29 8:34am

Similar

0

Params

{
  "action" => "show",
  "controller" => "nominees",
  "id" => "335"
}

Session

{
  "_csrf_token" => "GOp5YCKRKNz2s+OklQhGKCh8+t0Hrhm7/6bLJSiycvo=",
  "flash" => {
    "notice" => "Nominering skapad."
  },
  "person_id" => "18670",
  "return_to" => "http://www.datasektionen.se/sektionen/val/new",
  "return_url" => "http://www.datasektionen.se/",
  "session_id" => "8da77499171be2535dc0afa626ca7728"
}

Backtrace

17:  /app/views/nominees/show.html.haml -> **_app_views_nominees_show_html_haml__1493478522_56710000_0**
135:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/action_view/template.rb -> **send**
135:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/action_view/template.rb -> **render**
54:  [GEM_ROOT]/gems/activesupport-3.0.9/lib/active_support/notifications.rb -> **instrument**
127:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/action_view/template.rb -> **render**
59:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/action_view/render/rendering.rb -> **_render_template**
52:  [GEM_ROOT]/gems/activesupport-3.0.9/lib/active_support/notifications.rb -> **instrument**
21:  [GEM_ROOT]/gems/activesupport-3.0.9/lib/active_support/notifications/instrumenter.rb -> **instrument**
52:  [GEM_ROOT]/gems/activesupport-3.0.9/lib/active_support/notifications.rb -> **instrument**
56:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/action_view/render/rendering.rb -> **_render_template**
26:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/action_view/render/rendering.rb -> **render_without_haml**
13:  [GEM_ROOT]/gems/haml-3.1.2/lib/haml/helpers/action_view_mods.rb -> **render**
115:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/abstract_controller/rendering.rb -> **_render_template**
109:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/abstract_controller/rendering.rb -> **render_to_body**
47:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/action_controller/metal/renderers.rb -> **render_to_body**
55:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/action_controller/metal/compatibility.rb -> **render_to_body**
102:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/abstract_controller/rendering.rb -> **render_to_string**
93:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/abstract_controller/rendering.rb -> **render**
17:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/action_controller/metal/rendering.rb -> **render**
40:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/action_controller/metal/instrumentation.rb -> **render**
5:  [GEM_ROOT]/gems/activesupport-3.0.9/lib/active_support/core_ext/benchmark.rb -> **ms**
308:  /usr/local/rvm/rubies/ree-1.8.7-2011.03/lib/ruby/1.8/benchmark.rb -> **realtime**
5:  [GEM_ROOT]/gems/activesupport-3.0.9/lib/active_support/core_ext/benchmark.rb -> **ms**
40:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/action_controller/metal/instrumentation.rb -> **render**
78:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/action_controller/metal/instrumentation.rb -> **cleanup_view_runtime**
15:  [GEM_ROOT]/gems/activerecord-3.0.9/lib/active_record/railties/controller_runtime.rb -> **cleanup_view_runtime**
39:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/action_controller/metal/instrumentation.rb -> **render**
10:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/action_controller/metal/implicit_render.rb -> **default_render**
261:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/action_controller/metal/mime_responds.rb -> **retrieve_response_from_mimes**
192:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/action_controller/metal/mime_responds.rb -> **call**
192:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/action_controller/metal/mime_responds.rb -> **respond_to**
18:  /app/controllers/nominees_controller.rb -> **show**
4:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/action_controller/metal/implicit_render.rb -> **send_action**
4:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/action_controller/metal/implicit_render.rb -> **send_action**
150:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/abstract_controller/base.rb -> **process_action**
11:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/action_controller/metal/rendering.rb -> **process_action**
18:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/abstract_controller/callbacks.rb -> **process_action**
456:  [GEM_ROOT]/gems/activesupport-3.0.9/lib/active_support/callbacks.rb -> **_run__2054907132__process_action__453433196__callbacks**
410:  [GEM_ROOT]/gems/activesupport-3.0.9/lib/active_support/callbacks.rb -> **send**
410:  [GEM_ROOT]/gems/activesupport-3.0.9/lib/active_support/callbacks.rb -> **_run_process_action_callbacks**
94:  [GEM_ROOT]/gems/activesupport-3.0.9/lib/active_support/callbacks.rb -> **send**
94:  [GEM_ROOT]/gems/activesupport-3.0.9/lib/active_support/callbacks.rb -> **run_callbacks**
17:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/abstract_controller/callbacks.rb -> **process_action**
30:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/action_controller/metal/instrumentation.rb -> **process_action**
52:  [GEM_ROOT]/gems/activesupport-3.0.9/lib/active_support/notifications.rb -> **instrument**
21:  [GEM_ROOT]/gems/activesupport-3.0.9/lib/active_support/notifications/instrumenter.rb -> **instrument**
52:  [GEM_ROOT]/gems/activesupport-3.0.9/lib/active_support/notifications.rb -> **instrument**
29:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/action_controller/metal/instrumentation.rb -> **process_action**
17:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/action_controller/metal/rescue.rb -> **process_action**
34:  [GEM_ROOT]/gems/newrelic_rpm-3.3.1/lib/new_relic/agent/instrumentation/rails3/action_controller.rb -> **process_action**
255:  [GEM_ROOT]/gems/newrelic_rpm-3.3.1/lib/new_relic/agent/instrumentation/controller_instrumentation.rb -> **perform_action_with_newrelic_trace**
242:  [GEM_ROOT]/gems/newrelic_rpm-3.3.1/lib/new_relic/agent/method_tracer.rb -> **trace_execution_scoped**
250:  [GEM_ROOT]/gems/newrelic_rpm-3.3.1/lib/new_relic/agent/instrumentation/controller_instrumentation.rb -> **perform_action_with_newrelic_trace**
33:  [GEM_ROOT]/gems/newrelic_rpm-3.3.1/lib/new_relic/agent/instrumentation/rails3/action_controller.rb -> **process_action**
119:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/abstract_controller/base.rb -> **process**
41:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/abstract_controller/rendering.rb -> **process**
138:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/action_controller/metal.rb -> **dispatch**
14:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/action_controller/metal/rack_delegation.rb -> **dispatch**
178:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/action_controller/metal.rb -> **action**
62:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/action_dispatch/routing/route_set.rb -> **call**
62:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/action_dispatch/routing/route_set.rb -> **dispatch**
27:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/action_dispatch/routing/route_set.rb -> **call**
148:  [GEM_ROOT]/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb -> **call**
93:  [GEM_ROOT]/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb -> **recognize**
82:  [GEM_ROOT]/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb -> **optimized_each**
92:  [GEM_ROOT]/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb -> **recognize**
139:  [GEM_ROOT]/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb -> **call**
493:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/action_dispatch/routing/route_set.rb -> **call**
23:  [GEM_ROOT]/gems/newrelic_rpm-3.3.1/lib/new_relic/rack/browser_monitoring.rb -> **call**
54:  [GEM_ROOT]/gems/sass-3.1.6/lib/sass/../sass/plugin/rack.rb -> **call**
17:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/action_dispatch/middleware/best_standards_support.rb -> **call**
14:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/action_dispatch/middleware/head.rb -> **call**
24:  [GEM_ROOT]/gems/rack-1.2.4/lib/rack/methodoverride.rb -> **call**
21:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/action_dispatch/middleware/params_parser.rb -> **call**
182:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/action_dispatch/middleware/flash.rb -> **call**
149:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/action_dispatch/middleware/session/abstract_store.rb -> **call**
302:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/action_dispatch/middleware/cookies.rb -> **call**
32:  [GEM_ROOT]/gems/activerecord-3.0.9/lib/active_record/query_cache.rb -> **call**
28:  [GEM_ROOT]/gems/activerecord-3.0.9/lib/active_record/connection_adapters/abstract/query_cache.rb -> **cache**
12:  [GEM_ROOT]/gems/activerecord-3.0.9/lib/active_record/query_cache.rb -> **cache**
31:  [GEM_ROOT]/gems/activerecord-3.0.9/lib/active_record/query_cache.rb -> **call**
354:  [GEM_ROOT]/gems/activerecord-3.0.9/lib/active_record/connection_adapters/abstract/connection_pool.rb -> **call**
46:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/action_dispatch/middleware/callbacks.rb -> **call**
416:  [GEM_ROOT]/gems/activesupport-3.0.9/lib/active_support/callbacks.rb -> **_run_call_callbacks**
44:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/action_dispatch/middleware/callbacks.rb -> **call**
106:  [GEM_ROOT]/gems/rack-1.2.4/lib/rack/sendfile.rb -> **call**
48:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/action_dispatch/middleware/remote_ip.rb -> **call**
47:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/action_dispatch/middleware/show_exceptions.rb -> **call**
13:  [GEM_ROOT]/gems/railties-3.0.9/lib/rails/rack/logger.rb -> **call**
17:  [GEM_ROOT]/gems/rack-1.2.4/lib/rack/runtime.rb -> **call**
72:  [GEM_ROOT]/gems/activesupport-3.0.9/lib/active_support/cache/strategy/local_cache.rb -> **call**
11:  [GEM_ROOT]/gems/rack-1.2.4/lib/rack/lock.rb -> **call**
11:  [GEM_ROOT]/gems/rack-1.2.4/lib/rack/lock.rb -> **synchronize**
11:  [GEM_ROOT]/gems/rack-1.2.4/lib/rack/lock.rb -> **call**
125:  [GEM_ROOT]/gems/refraction-0.2.0/lib/refraction.rb -> **call**
30:  [GEM_ROOT]/gems/actionpack-3.0.9/lib/action_dispatch/middleware/static.rb -> **call**
168:  [GEM_ROOT]/gems/railties-3.0.9/lib/rails/application.rb -> **call**
77:  [GEM_ROOT]/gems/railties-3.0.9/lib/rails/application.rb -> **send**
77:  [GEM_ROOT]/gems/railties-3.0.9/lib/rails/application.rb -> **method_missing**
528:  [GEM_ROOT]/gems/unicorn-4.1.1/lib/unicorn/http_server.rb -> **process_client**
600:  [GEM_ROOT]/gems/unicorn-4.1.1/lib/unicorn/http_server.rb -> **worker_loop**
485:  [GEM_ROOT]/gems/unicorn-4.1.1/lib/unicorn/http_server.rb -> **spawn_missing_workers**
135:  [GEM_ROOT]/gems/unicorn-4.1.1/lib/unicorn/http_server.rb -> **start**
121:  [GEM_ROOT]/gems/unicorn-4.1.1/bin/unicorn -> ****
19:  [GEM_ROOT]/bin/unicorn -> **load**
19:  [GEM_ROOT]/bin/unicorn -> ****

Environment

HTTP_CACHE_CONTROL: max-age=0
SERVER_NAME: www.datasektionen.se
rack_session: {"_csrf_token"=>"GOp5YCKRKNz2s+OklQhGKCh8+t0Hrhm7/6bLJSiycvo=", "return_url"=>"http://www.datasektionen.se/", "return_to"=>"http://www.datasektionen.se/sektionen/val/new", "session_id"=>"8da77499171be2535dc0afa626ca7728", "person_id"=>"18670", "flash"=>{"notice"=>"Nominering skapad."}}
action_dispatch_request_formats: text/html
action_dispatch_request_parameters: {"action"=>"show", "id"=>"335", "controller"=>"nominees"}
rack_logger: #
HTTP_ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_HOST: www.datasektionen.se
HTTP_X_REAL_IP: ::ffff:80.216.220.7
rack_url_scheme: http
rack_request_cookie_hash: {"_purjo2_session"=>"BAh7CyIQX2NzcmZfdG9rZW4iMUdPcDVZQ0tSS056MnMrT2tsUWhHS0NoOCt0MEhyaG03LzZiTEpTaXljdm89Ig9yZXR1cm5fdXJsIiFodHRwOi8vd3d3LmRhdGFzZWt0aW9uZW4uc2UvIg5yZXR1cm5fdG8iMmh0dHA6Ly93d3cuZGF0YXNla3Rpb25lbi5zZS9zZWt0aW9uZW4vdmFsL25ldyIPc2Vzc2lvbl9pZCIlOGRhNzc0OTkxNzFiZTI1MzVkYzBhZmE2MjZjYTc3MjgiDnBlcnNvbl9pZGkC7kgiCmZsYXNoSUM6JUFjdGlvbkRpc3BhdGNoOjpGbGFzaDo6Rmxhc2hIYXNoewY6C25vdGljZSIXTm9taW5lcmluZyBza2FwYWQuBjoKQHVzZWRvOghTZXQGOgpAaGFzaHsA--4293f857fcf2c07f7ae2b9478daa428834cb3dd8", "__utma"=>"239681174.772281528.1326893337.1332862739.1333009641.36", "__utmb"=>"239681174.9.10.1333009641", "__utmc"=>"239681174", "__utmz"=>"239681174.1332341111.27.2.utmcsr=facebook.com|utmccn=(referral)|utmcmd=referral|utmcct=/l.php"}
action_dispatch_remote_ip: ::ffff:80.216.220.7
HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.83 Safari/535.11
REQUEST_PATH: /sektionen/val/335
SERVER_PROTOCOL: HTTP/1.0
rack_errors: #
key: rack.request.query_string
action_dispatch_request_unsigned_session_cookie: {"_csrf_token"=>"GOp5YCKRKNz2s+OklQhGKCh8+t0Hrhm7/6bLJSiycvo=", "return_url"=>"http://www.datasektionen.se/", "return_to"=>"http://www.datasektionen.se/sektionen/val/new", "session_id"=>"8da77499171be2535dc0afa626ca7728", "person_id"=>"18670", "flash"=>{"notice"=>"Nominering skapad."}}
HTTP_ACCEPT_LANGUAGE: sv-SE,sv;q=0.8,en-US;q=0.6,en;q=0.4
REMOTE_ADDR: 127.0.0.1
SERVER_SOFTWARE: Unicorn 4.1.1
rack_run_once: false
action_dispatch_secret_token: 8f53924a27ba15125e9242cea92fe326d4c31fe1ec80550836290a364a6004032efcd3566270aadf9b8b20a3e9d9e86a934ec09bbce560153503051bd38f425a
rack_version: 11
PATH_INFO: /sektionen/val/335
HTTP_REFERER: http://www.datasektionen.se/sektionen/val/new
rack_request_cookie_string: __utma=239681174.772281528.1326893337.1332862739.1333009641.36; __utmb=239681174.9.10.1333009641; __utmc=239681174; __utmz=239681174.1332341111.27.2.utmcsr=facebook.com|utmccn=(referral)|utmcmd=referral|utmcct=/l.php; _purjo2_session=BAh7CyIQX2NzcmZfdG9rZW4iMUdPcDVZQ0tSS056MnMrT2tsUWhHS0NoOCt0MEhyaG03LzZiTEpTaXljdm89Ig9yZXR1cm5fdXJsIiFodHRwOi8vd3d3LmRhdGFzZWt0aW9uZW4uc2UvIg5yZXR1cm5fdG8iMmh0dHA6Ly93d3cuZGF0YXNla3Rpb25lbi5zZS9zZWt0aW9uZW4vdmFsL25ldyIPc2Vzc2lvbl9pZCIlOGRhNzc0OTkxNzFiZTI1MzVkYzBhZmE2MjZjYTc3MjgiDnBlcnNvbl9pZGkC7kgiCmZsYXNoSUM6JUFjdGlvbkRpc3BhdGNoOjpGbGFzaDo6Rmxhc2hIYXNoewY6C25vdGljZSIXTm9taW5lcmluZyBza2FwYWQuBjoKQHVzZWRvOghTZXQGOgpAaGFzaHsA--4293f857fcf2c07f7ae2b9478daa428834cb3dd8
action_dispatch_request_path_parameters: {"controller"=>"nominees", "action"=>"show", "id"=>"335"}
HTTP_COOKIE: __utma=239681174.772281528.1326893337.1332862739.1333009641.36; __utmb=239681174.9.10.1333009641; __utmc=239681174; __utmz=239681174.1332341111.27.2.utmcsr=facebook.com|utmccn=(referral)|utmcmd=referral|utmcct=/l.php; _purjo2_session=BAh7CyIQX2NzcmZfdG9rZW4iMUdPcDVZQ0tSS056MnMrT2tsUWhHS0NoOCt0MEhyaG03LzZiTEpTaXljdm89Ig9yZXR1cm5fdXJsIiFodHRwOi8vd3d3LmRhdGFzZWt0aW9uZW4uc2UvIg5yZXR1cm5fdG8iMmh0dHA6Ly93d3cuZGF0YXNla3Rpb25lbi5zZS9zZWt0aW9uZW4vdmFsL25ldyIPc2Vzc2lvbl9pZCIlOGRhNzc0OTkxNzFiZTI1MzVkYzBhZmE2MjZjYTc3MjgiDnBlcnNvbl9pZGkC7kgiCmZsYXNoSUM6JUFjdGlvbkRpc3BhdGNoOjpGbGFzaDo6Rmxhc2hIYXNoewY6C25vdGljZSIXTm9taW5lcmluZyBza2FwYWQuBjoKQHVzZWRvOghTZXQGOgpAaGFzaHsA--4293f857fcf2c07f7ae2b9478daa428834cb3dd8
action_dispatch_show_exceptions: true
action_dispatch_parameter_filter: password
rack_multithread: false
HTTP_VERSION: HTTP/1.0
rack_multiprocess: true
action_dispatch_cookies: {"_purjo2_session"=>"BAh7CyIQX2NzcmZfdG9rZW4iMUdPcDVZQ0tSS056MnMrT2tsUWhHS0NoOCt0MEhyaG03LzZiTEpTaXljdm89Ig9yZXR1cm5fdXJsIiFodHRwOi8vd3d3LmRhdGFzZWt0aW9uZW4uc2UvIg5yZXR1cm5fdG8iMmh0dHA6Ly93d3cuZGF0YXNla3Rpb25lbi5zZS9zZWt0aW9uZW4vdmFsL25ldyIPc2Vzc2lvbl9pZCIlOGRhNzc0OTkxNzFiZTI1MzVkYzBhZmE2MjZjYTc3MjgiDnBlcnNvbl9pZGkC7kgiCmZsYXNoSUM6JUFjdGlvbkRpc3BhdGNoOjpGbGFzaDo6Rmxhc2hIYXNoewY6C25vdGljZSIXTm9taW5lcmluZyBza2FwYWQuBjoKQHVzZWRvOghTZXQGOgpAaGFzaHsA--4293f857fcf2c07f7ae2b9478daa428834cb3dd8", "__utma"=>"239681174.772281528.1326893337.1332862739.1333009641.36", "__utmb"=>"239681174.9.10.1333009641", "__utmc"=>"239681174", "__utmz"=>"239681174.1332341111.27.2.utmcsr=facebook.com|utmccn=(referral)|utmcmd=referral|utmcct=/l.php"}
REQUEST_URI: /sektionen/val/335
HTTP_ACCEPT_CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.3
SERVER_PORT: 80
HTTP_X_FORWARDED_FOR: ::ffff:80.216.220.7
REQUEST_METHOD: GET
action_controller_instance: #
rack_session_options: {"path"=>"/", "secure"=>"false", "key"=>"expire_after", "httponly"=>"true", "id"=>"8da77499171be2535dc0afa626ca7728"}
HTTP_CONNECTION: close
rack_input: #
HTTP_ACCEPT_ENCODING: gzip,deflate,sdch