locations#show (NoMethodError) "undefined method `id' for nil:NilClass"
A NoMethodError occurred in locations#show:
undefined method `id' for nil:NilClass
app/models/error_message.rb:13:in `block in <class:ErrorMessage>'
-------------------------------
Request:
-------------------------------
* URL : https://35.83.0.123/locations/bike_hangars_datagrid
* HTTP Method: GET
* IP address : 35.173.138.142
* Parameters : {"controller"=>"locations", "action"=>"show", "id"=>"bike_hangars_datagrid"}
* Timestamp : 2023-11-06 08:38:15 UTC
* Server : www-6.internal.bikelink.org
* Rails root : /var/www/bikelink
* Process: 8983
-------------------------------
Session:
-------------------------------
* session id: [FILTERED]
* data: {}
-------------------------------
Backtrace:
-------------------------------
app/models/error_message.rb:13:in `block in <class:ErrorMessage>'
app/controllers/locations_controller.rb:126:in `show'
app/controllers/application_controller.rb:45:in `process_action'
Znovu načíst