An ActionView::Template::Error occurred in reports#location_details:
undefined method `name' for nil
app/views/reports/location_details/_location_report_form.html.erb:8
-------------------------------
Request:
-------------------------------
* URL : https://www.bikelink.org/reports/location_details?location_ids=984&report_name=Daily+Rentals&start_date=2025-12-05&end_date=2026-03-05
* HTTP Method: GET
* IP address : 184.23.37.178
* Parameters : {"location_ids"=>"984", "report_name"=>"Daily Rentals", "start_date"=>"2025-12-05", "end_date"=>"2026-03-05", "controller"=>"reports", "action"=>"location_details"}
* Timestamp : 2026-03-05 19:15:36 UTC
* Server : www-8.internal.bikelink.org
* Rails root : /var/www/bikelink
* Process: 2727657
-------------------------------
Session:
-------------------------------
* session id: [FILTERED]
* data: {"session_id"=>"30c1a9e26b764cb29069f421c81c21d3",
"warden.user.person.key"=>[[31069], "oa8zM7WW7o4Pjn2npiwT"],
"_csrf_token"=>"g3_2ECkxyk5QNiB61BiFO25BSxzJHRt1BZOqRDA74f8"}
-------------------------------
Environment:
-------------------------------
* GATEWAY_INTERFACE : CGI/1.2
* HTTP_ACCEPT : text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
* HTTP_ACCEPT_ENCODING : gzip, deflate, br, zstd
* HTTP_ACCEPT_LANGUAGE : en-US,en;q=0.9
* HTTP_CONNECTION : close
* HTTP_COOKIE : _ga_5XJXN3VELE=GS2.1.s1752190966$o4$g0$t1752190966$j60$l0$h0; _ga=GA1.1.1082406862.1750092084; _bikelink_session=%2FWJSCTGXEeorlQha9EX%2F9iq2H7ZqvGdKTvGqDGZGzXDfTADZ500HGt%2BNI4lPLLP6UHmijLks7dw7IRG0Qa%2FGFKWRr0vtMGAGr3jwBvaCNFbPrsc3YeR1QFYL74Kn5Qq2%2FC0q%2ByPMXYwXMbWqXNF3ajVf8d7I874GOI4spziKP4JkeVGLeV0Oyd5SFGqGefBYX%2Bs1klerLhFbtVq9BQGccAE8pNVxyJ3LNOEll1%2BwWx4t7ecPIPY%2BPAauXMU31oHOHN%2BIwKdcs5NzRFMPpWj0fhVxxC%2BGH3Y5svRlgIfkVAv6XvomBjk3RXMoTfLqwXbnvUAIRKgv8yJJEqqP2wYid%2FzVetqa%2B9aGvDTxUoxdJTEWQlJs2khiO5wjthVwHByMGGO%2FZg4%3D--uItpRuVXI7Ozv66a--nG%2F%2F%2FZL%2BvHOgrzXaEf%2Fq3g%3D%3D
* HTTP_DNT : 1
* HTTP_HOST : www.bikelink.org
* HTTP_PRIORITY : u=0, i
* HTTP_SEC_FETCH_DEST : document
* HTTP_SEC_FETCH_MODE : navigate
* HTTP_SEC_FETCH_SITE : none
* HTTP_SEC_GPC : 1
* HTTP_UPGRADE_INSECURE_REQUESTS : 1
* HTTP_USER_AGENT : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:148.0) Gecko/20100101 Firefox/148.0
* HTTP_VERSION : HTTP/1.0
* HTTP_X_AMZN_TRACE_ID : Root=1-69a9d657-0a7f00f922998df140b2d55a
* HTTP_X_FORWARDED_FOR : 184.23.37.178, 184.23.37.178
* HTTP_X_FORWARDED_PORT : 443
* HTTP_X_FORWARDED_PROTO : https
* ORIGINAL_FULLPATH : /reports/location_details?location_ids=984&report_name=Daily+Rentals&start_date=2025-12-05&end_date=2026-03-05
* ORIGINAL_SCRIPT_NAME :
* PATH_INFO : /reports/location_details
* QUERY_STRING : location_ids=984&report_name=Daily+Rentals&start_date=2025-12-05&end_date=2026-03-05
* REMOTE_ADDR : 127.0.0.1
* REQUEST_METHOD : GET
* REQUEST_PATH : /reports/location_details
* REQUEST_URI : /reports/location_details?location_ids=984&report_name=Daily+Rentals&start_date=2025-12-05&end_date=2026-03-05
* ROUTES_13720_SCRIPT_NAME :
* SCRIPT_NAME :
* SERVER_NAME : www.bikelink.org
* SERVER_PORT : 443
* SERVER_PROTOCOL : HTTP/1.0
* SERVER_SOFTWARE : puma 6.6.0 Return to Forever
* action_controller.instance : #<ReportsController:0x000077dbc0b9b680>
* action_dispatch.authenticated_encrypted_cookie_salt : [FILTERED]
* action_dispatch.backtrace_cleaner : #<Rails::BacktraceCleaner:0x000077dbd9299dc0>
* 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:0x000077dbc1633250>
* action_dispatch.cookies_digest :
* action_dispatch.cookies_rotations : #<ActiveSupport::Messages::RotationConfiguration:0x000077dbdb042160>
* action_dispatch.cookies_same_site_protection : #<Proc:0x000077dbd17f2a68 /var/www/bikelink/vendor/bundle/ruby/3.3.0/gems/railties-7.2.2.1/lib/rails/application.rb:641>
* action_dispatch.cookies_serializer : json
* action_dispatch.debug_exception_log_level : 3
* 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:0x000077dbc953a0a8>
* action_dispatch.log_rescued_responses : true
* action_dispatch.logger : #<ActiveSupport::BroadcastLogger:0x000077dbda6bb3a8>
* action_dispatch.parameter_filter : [/(?i:confirm_password)|(?i:credit_card_number)|(?i:password)|(?i:passw)|(?i:secret)|(?i:token)|(?i:_key)|(?i:crypt)|(?i:salt)|(?i:certificate)|(?i:otp)|(?i:ssn)/, /(?i:person\.otp_secret)|(?i:encrypted_rich_text\.body)/]
* action_dispatch.permissions_policy :
* action_dispatch.redirect_filter : []
* action_dispatch.remote_ip : 184.23.37.178
* action_dispatch.request.content_type :
* action_dispatch.request.formats : [#<Mime::Type:0x000077dbdab70510 @synonyms=["application/xhtml+xml"], @symbol=:html, @string="text/html", @hash=534898060098881377>]
* action_dispatch.request.parameters : {"location_ids"=>"984", "report_name"=>"Daily Rentals", "start_date"=>"2025-12-05", "end_date"=>"2026-03-05", "controller"=>"reports", "action"=>"location_details"}
* action_dispatch.request.path_parameters : {:controller=>"reports", :action=>"location_details"}
* action_dispatch.request.query_parameters : {"location_ids"=>"984", "report_name"=>"Daily Rentals", "start_date"=>"2025-12-05", "end_date"=>"2026-03-05"}
* action_dispatch.request.request_parameters : {}
* action_dispatch.request.unsigned_session_cookie : {"session_id"=>"30c1a9e26b764cb29069f421c81c21d3", "warden.user.person.key"=>[[31069], "oa8zM7WW7o4Pjn2npiwT"], "_csrf_token"=>"[FILTERED]"}
* action_dispatch.request_id : ff6bde32-7451-43f3-ab27-6428214e259c
* action_dispatch.route_uri_pattern : /reports/location_details(.:format)
* action_dispatch.routes : #<ActionDispatch::Routing::RouteSet:0x000077dbd3ba4b00>
* action_dispatch.secret_key_base : [FILTERED]
* action_dispatch.show_detailed_exceptions : false
* action_dispatch.show_exceptions : all
* 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:0x000077dbdc10d990>
* puma.request_body_wait : 0.004344940185546875
* puma.socket : #<UNIXSocket:0x000077dbc2040fb8>
* rack.after_reply : []
* rack.errors : #<IO:0x000077dbf7e69060>
* rack.hijack : #<Puma::Client:0x000077dbc0b9de80>
* rack.hijack? : true
* rack.input : #<Puma::NullIO:0x000077dbdc1a6a00>
* rack.multiprocess : true
* rack.multithread : true
* rack.request.cookie_hash : {"_ga_5XJXN3VELE"=>"GS2.1.s1752190966$o4$g0$t1752190966$j60$l0$h0", "_ga"=>"GA1.1.1082406862.1750092084", "_bikelink_session"=>"/WJSCTGXEeorlQha9EX/9iq2H7ZqvGdKTvGqDGZGzXDfTADZ500HGt+NI4lPLLP6UHmijLks7dw7IRG0Qa/GFKWRr0vtMGAGr3jwBvaCNFbPrsc3YeR1QFYL74Kn5Qq2/C0q+yPMXYwXMbWqXNF3ajVf8d7I874GOI4spziKP4Jk...
* rack.request.cookie_string : _ga_5XJXN3VELE=GS2.1.s1752190966$o4$g0$t1752190966$j60$l0$h0; _ga=GA1.1.1082406862.1750092084; _bikelink_session=%2FWJSCTGXEeorlQha9EX%2F9iq2H7ZqvGdKTvGqDGZGzXDfTADZ500HGt%2BNI4lPLLP6UHmijLks7dw7IRG0Qa%2FGFKWRr0vtMGAGr3jwBvaCNFbPrsc3YeR1QFYL74Kn5Qq2%2FC0q%2ByPMXYwXMbWqXNF3ajVf8d7I874GOI4spziKP4JkeVGLeV0Oyd5SFGqGefBYX%2Bs1klerLhFbtVq9BQGccAE8pNVxyJ3LNOEll1%2BwWx4t7ecPIPY%2BPAauXMU31oHOHN%2BIwKdcs5NzRFMPpWj0fhVxxC%2BGH3Y5svRlgIfkVAv6XvomBjk3RXMoTfLqwXbnvUAIRKgv8yJJEqqP2wYid%2FzVetqa%2B9aGvDTxUoxdJTEWQlJs2khiO5wjthVwHByMGGO%2FZg4%3D--uItpRuVXI7Ozv66a--nG%2F%2F%2FZL%2BvHOgrzXaEf%2Fq3g%3D%3D
* rack.request.form_hash : {}
* rack.request.form_input : #<Puma::NullIO:0x000077dbdc1a6a00>
* rack.request.query_hash : {"location_ids"=>"984", "report_name"=>"Daily Rentals", "start_date"=>"2025-12-05", "end_date"=>"2026-03-05"}
* rack.request.query_string : location_ids=984&report_name=Daily+Rentals&start_date=2025-12-05&end_date=2026-03-05
* rack.run_once : false
* rack.session : #<ActionDispatch::Request::Session:0x000077dbc16354b0>
* rack.session.options : #<ActionDispatch::Request::Session::Options:0x000077dbc207cab8>
* rack.tempfiles : []
* rack.url_scheme : https
* rack.version : [1, 6]
* rails.rack_logger_tag_count : 1
* warden : Warden::Proxy:10400380 @config={:default_scope=>:person, :scope_defaults=>{}, :default_strategies=>{:person=>[:two_factor_authenticatable, :two_factor_authenticatable, :rememberable]}, :intercept_401=>false, :failure_app=>#<Devise::Delegator:0x000077dbc67186c0>}
-------------------------------
Backtrace:
-------------------------------
app/views/reports/location_details/_location_report_form.html.erb:8
app/views/reports/location_details/_location_report_form.html.erb:1
app/views/reports/location_details.html.erb:11
app/views/reports/location_details.html.erb:1
app/controllers/application_controller.rb:45:in `process_action'