ifunam/salva — Issue #137: Problems with show action in  jobposition_logs controller
Author: juarlex
Created: 2012-02-17 00:27:55+00:00
State: open

A ActionView::Template::Error occurred in jobposition_logs#show:

undefined method `to_key' for nil:NilClass
actionpack (3.1.3) lib/action_controller/record_identifier.rb:76:in `record_key_for_dom_id'

-------------------------------
Request:
-------------------------------

* URL : https://salva.fisica.unam.mx/jobposition_log
* IP address: 132.248.209.119
* Parameters: {"action"=>"show", "controller"=>"jobposition_logs"}
* Rails root: /home/deployer/apps/salva/releases/20120216180742

-------------------------------
Session:
-------------------------------

* session id: [FILTERED]
* data: {"_csrf_token"=>"yt6OEJ6pY9vLS+2Y1iZRAzrcit4iqgMkM9BsClMZ7MA=",
"warden.user.user.key"=>["User", [402], nil],
"warden.user.user.session"=>{"last_request_at"=>2012-02-16 23:41:52 UTC}}

-------------------------------
Environment:
-------------------------------

* CONTENT_LENGTH : 0
* DOCUMENT_ROOT : /home/deployer/apps/salva/current/public
* HTTPS : on
* HTTP_ACCEPT : text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
* HTTP_ACCEPT_ENCODING : gzip, deflate
* HTTP_ACCEPT_LANGUAGE : es-MX,es;q=0.8,en-us;q=0.5,en;q=0.3
* HTTP_CONNECTION : keep-alive
* HTTP_COOKIE : __utma=111627456.517139236.1329431885.1329431885.1329431885.1; __utmz=111627456.1329431885.1.1.utmcsr=solgelnanophotonics.blogspot.com|utmccn=(referral)|utmcmd=referral|utmcct=/; __utma=227192202.897600647.1329345652.1329351503.1329435325.3; __utmz=227192202.1329345652.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmb=227192202.6.10.1329435325; __utmc=227192202; _salva_session=b4a73f078adcf85221afd55cbe2433cc; NREUM=s=1329435757925&r=131347&p=86893
* HTTP_HOST : salva.fisica.unam.mx
* HTTP_REFERER : https://salva.fisica.unam.mx/external_jobpositions
* action_dispatch.parameter_filter : [:password, /RAW_POST_DATA/, /RAW_POST_DATA/, /RAW_POST_DATA/]
* action_dispatch.remote_ip : 132.248.209.119
* action_dispatch.request.content_type :
* action_dispatch.request.formats : [text/html]
* action_dispatch.request.parameters : {"action"=>"show", "controller"=>"jobposition_logs"}
* action_dispatch.request.path_parameters : {:action=>"show", :controller=>"jobposition_logs"}
* action_dispatch.request.query_parameters : {}
* action_dispatch.request.request_parameters: {}
* action_dispatch.routes : #
* action_dispatch.secret_token : 52d737e54b7c19af1c06c7101e405f842645b5c9446acd9cfa70bbdebf6aada443bb35460a5af20e3f93d567e59999fd6bd1d78ccc865b961c84318b4ebbf308
* action_dispatch.show_exceptions : true
* exception_notifier.options : {:sender_address=>"salva@fisica.unam.mx", :exception_recipients=>"alex@fisica.unam.mx", :email_prefix=>"[SALVA - Exception notification] ", :sections=>["request", "session", "environment", "backtrace"], :ignore_exceptions=>[ActiveRecord::RecordNotFound, AbstractController::ActionNotFound, ActionController::RoutingError]}
* rack-cache.allow_reload : false
* rack-cache.allow_revalidate : false
* rack-cache.cache_key : Rack::Cache::Key
* rack-cache.default_ttl : 0
* rack-cache.entitystore : rails:/
* rack-cache.metastore : rails:/
* rack-cache.private_headers : ["Authorization", "Cookie"]
* rack-cache.storage : #
* rack-cache.use_native_ttl : false
* rack-cache.verbose : true
* rack.errors : #
* rack.input : #
* rack.multiprocess : true
* rack.multithread : false
* rack.request.cookie_hash : {"__utma"=>"111627456.517139236.1329431885.1329431885.1329431885.1", "__utmz"=>"111627456.1329431885.1.1.utmcsr=solgelnanophotonics.blogspot.com|utmccn=(referral)|utmcmd=referral|utmcct=/", "__utmb"=>"227192202.6.10.1329435325", "__utmc"=>"227192202", "_salva_session"=>"b4a73f078adcf85221afd55cbe2433cc", "NREUM"=>"s=1329435757925&r=131347&p=86893"}
* rack.request.cookie_string : __utma=111627456.517139236.1329431885.1329431885.1329431885.1; __utmz=111627456.1329431885.1.1.utmcsr=solgelnanophotonics.blogspot.com|utmccn=(referral)|utmcmd=referral|utmcct=/; __utma=227192202.897600647.1329345652.1329351503.1329435325.3; __utmz=227192202.1329345652.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmb=227192202.6.10.1329435325; __utmc=227192202; _salva_session=b4a73f078adcf85221afd55cbe2433cc; NREUM=s=1329435757925&r=131347&p=86893
* rack.request.query_hash : {}
* rack.request.query_string :
* rack.run_once : false
* rack.session : {"_csrf_token"=>"yt6OEJ6pY9vLS+2Y1iZRAzrcit4iqgMkM9BsClMZ7MA=", "warden.user.user.key"=>["User", [402], nil], "warden.user.user.session"=>{"last_request_at"=>2012-02-16 23:41:52 UTC}}
* rack.session.options : {:key=>"_salva_session", :path=>"/", :domain=>nil, :expire_after=>1800 seconds, :secure=>false, :httponly=>true, :defer=>false, :renew=>false, :memcache_server=>["127.0.0.1:11211"], :namespace=>"sessions", :id=>"b4a73f078adcf85221afd55cbe2433cc"}
* rack.url_scheme : https
* rack.version : [1, 0]
* warden : Warden::Proxy:114123970 @config={:default_scope=>:user, :scope_defaults=>{}, :default_strategies=>{:user=>[:ldap_authenticatable], :academic=>[:ldap_authenticatable]}, :intercept_401=>false, :failure_app=>#}