#4295 - A NoMethodError occurred in device_rentals#end

A NoMethodError occurred in device_rentals#end:

 undefined method `g7_access_hub_board' for nil
 app/messages/g7_ah_messages/publishers/end_rental_pb.rb:9:in `initialize'


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

 * URL        : https://www.bikelink.org/g7/device_rentals/1008667187/end
 * HTTP Method: PATCH
 * IP address : 88.146.115.82
 * Parameters : {"_method"=>"patch", "authenticity_token"=>"[FILTERED]", "free_rental"=>"1", "email"=>"minsc@atlas.cz", "password"=>"[FILTERED]", "commit"=>"End Rental on Web", "controller"=>"g7/device_rentals", "action"=>"end", "id"=>"1008667187"}
 * Timestamp  : 2025-11-25 12:23:49 UTC
 * Server : www-11.internal.bikelink.org
   * Rails root : /var/www/bikelink
 * Process: 578033

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

 * session id: [FILTERED]
 * data: {"session_id"=>"9f6f04937d5d417ffc868d2716774f2d",
  "warden.user.person.key"=>[[3142], "syB2d3gbrDyaimY7jA6Z"],
  "_csrf_token"=>"3xSmJeK4KqzawUXX4QFVA-bbpiwaqsYQE9pZWIacHGw"}

-------------------------------
Backtrace:
-------------------------------

 app/messages/g7_ah_messages/publishers/end_rental_pb.rb:9:in `initialize'
 app/services/g7/device_rentals/ended_from_web.rb:30:in `new'
 app/services/g7/device_rentals/ended_from_web.rb:30:in `call'
 app/controllers/g7/device_rentals_controller.rb:10:in `end'
 app/controllers/application_controller.rb:45:in `process_action'
Znovu načítať