#3988 - locations#lockers (ActionView::Template::Error) "undefined method 'owner_name'

An ActionView::Template::Error occurred in locations#lockers:

undefined method `owner_name' for nil:NilClass
app/views/modern/owners/locations/show/lockers/_locker.html.slim:18


Request:

  • URL : https://www.bikelink.org/owners/locations/914/lockers
  • HTTP Method: GET
  • IP address : 88.146.115.82
  • Parameters : {"controller"=>"modern/owners/locations", "action"=>"lockers", "id"=>"914"}
  • Timestamp : 2025-02-24 07:39:49 UTC
  • Server : www-10.internal.bikelink.org
    • Rails root : /var/www/bikelink
  • Process: 243193

Session:

  • session id: [FILTERED]
  • data: {"session_id"=>"8806d788035d0ae8b71478d70ed6ddde", "warden.user.person.key"=>[[3142], "syB2d3gbrDyaimY7jA6Z"], "_csrf_token"=>"jtr9S9bfE3pEFwSp5b5IKg5bYQDgBd5AQymY1IJ8qrc="}

Environment:

  • GATEWAY_INTERFACE : CGI/1.2
    • HTTP_ACCEPT : text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,/;q=0.8
    • HTTP_ACCEPT_ENCODING : gzip, deflate, br, zstd
    • HTTP_ACCEPT_LANGUAGE : cs-CZ,cs;q=0.5
    • HTTP_CONNECTION : close
    • HTTP_COOKIE : _bikelink_session=TeNVRT0ct3EmRb4EXzRUmabSnnTlG79q9K3yWHdzFkcv7muTlv0rR7bPYF7XWote80z%2FjyJkrcjU1pnzHO3Ogu5IXBNTrVCu%2B6IhUnaCSJtIc1ASxZj9AZUqNB0MHnuHdHAh%2FgSSvC5lU51Ps8KvvB4oy%2Br9MPPz7kqCxESMWxsA3M2fExahPHBw6nBaCUX5Iejhp5SswhQgdvNxsQUbFUmEADqRmq%2BvvurGgAmCXI4z6RhR6u%2BtNWXV3YmLQ8POiPefASwzZXEiJk0LnSVz0IQQlYOEVMIRfT17A4Ft0GfN0lJCkSaphoXQX6pD9J7dn9C7E3%2FWjvntzlfk5NWHPMNCKI1wWRk3w3nsWumT3Yy%2FGriQJOJ0dTk3auHpUoL3e3kKQSM%3D--mr4PJryseR5fCnV5--LUtH%2FqKNewFSc9mim0oVWg%3D%3D
    • HTTP_HOST : www.bikelink.org
    • HTTP_PRIORITY : u=0, i
    • HTTP_REFERER : https://www.bikelink.org/owners/locations?owners_locations_datagrid%5Bid%5D=&owners_locations_datagrid%5Bhuman_name%5D=wardlow&owners_locations_datagrid%5Bper_page%5D=25&commit=Apply
    • HTTP_SEC_CH_UA : "Not A(Brand";v="8", "Chromium";v="132", "Brave";v="132"
    • HTTP_SEC_CH_UA_MOBILE : ?0
    • HTTP_SEC_CH_UA_PLATFORM : "Linux"
    • HTTP_SEC_FETCH_DEST : document
    • HTTP_SEC_FETCH_MODE : navigate
    • HTTP_SEC_FETCH_SITE : same-origin
    • HTTP_SEC_FETCH_USER : ?1
    • HTTP_SEC_GPC : 1
    • HTTP_UPGRADE_INSECURE_REQUESTS : 1
    • HTTP_USER_AGENT : Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
    • HTTP_VERSION : HTTP/1.0
    • HTTP_X_AMZN_TRACE_ID : Root=1-67bc2245-3a1d4aa71506f254581be9c8
    • HTTP_X_FORWARDED_FOR : 88.146.115.82, 88.146.115.82
    • HTTP_X_FORWARDED_PORT : 443
    • HTTP_X_FORWARDED_PROTO : https
    • ORIGINAL_FULLPATH : /owners/locations/914/lockers
    • ORIGINAL_SCRIPT_NAME :
    • PATH_INFO : /owners/locations/914/lockers
    • QUERY_STRING :
    • REMOTE_ADDR : 127.0.0.1
    • REQUEST_METHOD : GET
    • REQUEST_PATH : /owners/locations/914/lockers
    • REQUEST_URI : /owners/locations/914/lockers
    • ROUTES_13660_SCRIPT_NAME :
    • SCRIPT_NAME :
    • SERVER_NAME : www.bikelink.org
    • SERVER_PORT : 443
    • SERVER_PROTOCOL : HTTP/1.0
    • SERVER_SOFTWARE : puma 6.4.0 The Eagle of Durango
    • action_controller.instance : #Modern::Owners::LocationsController:0x0000641d91979ab0
    • action_dispatch.authenticated_encrypted_cookie_salt : [FILTERED]
    • action_dispatch.backtrace_cleaner : #Rails::BacktraceCleaner:0x0000641d8be77cc0
    • action_dispatch.content_security_policy :
    • action_dispatch.content_security_policy_nonce_directives:
    • action_dispatch.content_security_policy_nonce_generator :
    • action_dispatch.content_security_policy_report_only : false
    • action_dispatch.cookies : #ActionDispatch::Cookies::CookieJar:0x0000641d919605d8
    • action_dispatch.cookies_digest :
    • action_dispatch.cookies_rotations : #ActiveSupport::Messages::RotationConfiguration:0x0000641d89877b38
    • action_dispatch.cookies_same_site_protection : #
    • action_dispatch.cookies_serializer : json
    • action_dispatch.encrypted_cookie_cipher : [FILTERED]
    • action_dispatch.encrypted_cookie_salt : [FILTERED]
    • action_dispatch.encrypted_signed_cookie_salt : [FILTERED]
    • action_dispatch.http_auth_salt : [FILTERED]
    • action_dispatch.key_generator : #ActiveSupport::CachingKeyGenerator:0x0000641d90c90ee8
    • action_dispatch.logger : #ActiveSupport::Logger:0x0000641d8a81b1c0
    • action_dispatch.parameter_filter : [:confirm_password, :credit_card_number, :password, :passw, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn]
    • action_dispatch.permissions_policy :
    • action_dispatch.redirect_filter : []
    • action_dispatch.remote_ip : 88.146.115.82
    • action_dispatch.request.content_type :
    • action_dispatch.request.formats : [#]
    • action_dispatch.request.parameters : {"controller"=>"modern/owners/locations", "action"=>"lockers", "id"=>"914"}
    • action_dispatch.request.path_parameters : {:controller=>"modern/owners/locations", :action=>"lockers", :id=>"914"}
    • action_dispatch.request.query_parameters : {}
    • action_dispatch.request.request_parameters : {}
    • action_dispatch.request.unsigned_session_cookie : {"session_id"=>"8806d788035d0ae8b71478d70ed6ddde", "warden.user.person.key"=>[[3142], "syB2d3gbrDyaimY7jA6Z"], "_csrf_token"=>"[FILTERED]"}
    • action_dispatch.request_id : b95a0946-664d-474f-8c13-86973d15d8b7
    • action_dispatch.routes : #ActionDispatch::Routing::RouteSet:0x0000641d8dede2c0
    • action_dispatch.secret_key_base : [FILTERED]
    • action_dispatch.show_detailed_exceptions : false
    • action_dispatch.show_exceptions : true
    • action_dispatch.signed_cookie_digest :
    • action_dispatch.signed_cookie_salt : [FILTERED]
    • action_dispatch.use_authenticated_cookie_encryption : [FILTERED]
    • action_dispatch.use_cookies_with_metadata : true
    • newrelic.transaction_started : true
    • puma.config : #Puma::Configuration:0x0000641d8897ba80
    • puma.request_body_wait : 0.006807804107666016
    • puma.socket : #UNIXSocket:0x0000641d918ba5c0
    • rack.after_reply : []
    • rack.errors : #IO:0x0000641d87c39818
    • rack.hijack : #Puma::Client:0x0000641d918ba458
    • rack.hijack? : true
    • rack.input : #Puma::NullIO:0x0000641d8896a640
    • rack.multiprocess : true
    • rack.multithread : true
    • rack.request.cookie_hash : {"_bikelink_session"=>"TeNVRT0ct3EmRb4EXzRUmabSnnTlG79q9K3yWHdzFkcv7muTlv0rR7bPYF7XWote80z/jyJkrcjU1pnzHO3Ogu5IXBNTrVCu+6IhUnaCSJtIc1ASxZj9AZUqNB0MHnuHdHAh/gSSvC5lU51Ps8KvvB4oy+r9MPPz7kqCxESMWxsA3M2fExahPHBw6nBaCUX5Iejhp5SswhQgdvNxsQUbFUmEADqRmq+vvurGgAmCXI4z6RhR6u+tNWXV3YmLQ8POiPefASwzZXEiJk0LnSVz0...
    • rack.request.cookie_string : _bikelink_session=TeNVRT0ct3EmRb4EXzRUmabSnnTlG79q9K3yWHdzFkcv7muTlv0rR7bPYF7XWote80z%2FjyJkrcjU1pnzHO3Ogu5IXBNTrVCu%2B6IhUnaCSJtIc1ASxZj9AZUqNB0MHnuHdHAh%2FgSSvC5lU51Ps8KvvB4oy%2Br9MPPz7kqCxESMWxsA3M2fExahPHBw6nBaCUX5Iejhp5SswhQgdvNxsQUbFUmEADqRmq%2BvvurGgAmCXI4z6RhR6u%2BtNWXV3YmLQ8POiPefASwzZXEiJk0LnSVz0IQQlYOEVMIRfT17A4Ft0GfN0lJCkSaphoXQX6pD9J7dn9C7E3%2FWjvntzlfk5NWHPMNCKI1wWRk3w3nsWumT3Yy%2FGriQJOJ0dTk3auHpUoL3e3kKQSM%3D--mr4PJryseR5fCnV5--LUtH%2FqKNewFSc9mim0oVWg%3D%3D
    • rack.request.query_hash : {}
    • rack.request.query_string :
    • rack.run_once : false
    • rack.session : #ActionDispatch::Request::Session:0x0000641d91991a98
    • rack.session.options : #ActionDispatch::Request::Session::Options:0x0000641d919911d8
    • rack.tempfiles : []
    • rack.url_scheme : https
    • rack.version : [1, 6]
    • warden : Warden::Proxy:423080 @config={:default_scope=>:person, :scope_defaults=>{}, :default_strategies=>{:person=>[:two_factor_authenticatable, :two_factor_authenticatable, :rememberable]}, :intercept_401=>false, :failure_app=>#Devise::Delegator:0x0000641d8db74bc0}

Backtrace:

app/views/modern/owners/locations/show/lockers/_locker.html.slim:18
app/views/modern/owners/locations/show/lockers/_locker.html.slim:2
app/views/modern/owners/locations/show/tab_contents/_lockers.html.slim:18
app/views/modern/owners/locations/show/tab_contents/_lockers.html.slim:9
app/views/modern/owners/locations/lockers.html.slim:5
app/views/modern/owners/locations/lockers.html.slim:4
app/controllers/application_controller.rb:45:in `process_action'

Reload