#4221 - ActiveRecord::AssociationTypeMismatch occurred in device_rentals#send_open_space

An ActiveRecord::AssociationTypeMismatch occurred in device_rentals#send_open_space:

 Space(#32256100) expected, got #<G7Space id: 188> which is an instance of G7Space(#407720)
 app/controllers/modern/device_rentals_controller.rb:28:in `send_open_space'


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

 * URL        : https://www.bikelink.org/device_rentals/send_open_space?open_door_code=827a2259cdf999cadd61d484
 * HTTP Method: GET
 * IP address : 174.193.130.249
 * Parameters : {"open_door_code"=>"827a2259cdf999cadd61d484", "controller"=>"modern/device_rentals", "action"=>"send_open_space"}
 * Timestamp  : 2025-08-30 02:34:46 UTC
 * Server : www-10.internal.bikelink.org
   * Rails root : /var/www/bikelink
 * Process: 162287

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

 * session id: [FILTERED]
 * data: {"session_id"=>"5cbb6f26556422aa3eecdf436a339173",
  "_csrf_token"=>"RNRGZ5nnAybGrwBFW7upYRPE_CNZR6dZ_2IQ-c-FJ7g"}

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

 app/controllers/modern/device_rentals_controller.rb:28:in `send_open_space'
 app/controllers/application_controller.rb:45:in `process_action'
Znovu načítať