#3072 - An ActiveRecord::RecordInvalid occurred in rentals#end: Validation failed: Latch can't be blank

An ActiveRecord::RecordInvalid occurred in rentals#end:

 Validation failed: Latch can't be blank
 app/controllers/ui_nodes/rentals_controller.rb:9:in `end'


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

 * URL        : https://bikelink.org/ui_nodes/rentals/15667/end
 * HTTP Method: PATCH
 * IP address : 107.127.14.117
 * Parameters : {"_method"=>"patch", "authenticity_token"=>"yq14ywwRJXkHGJA15D6v1cbYAPxD7rzGYUNjzXexh5Bc33SX4h8Ofj2oR7Hjt/3j1NLXrFZeLWiTLQmVE5zvVQ==", "free_rental"=>"1", "email"=>"sylvia@bikelink.org", "password"=>"[FILTERED]", "commit"=>"End Rental on Web", "controller"=>"ui_nodes/rentals", "action"=>"end", "id"=>"15667"}
 * Timestamp  : 2022-06-06 04:23:47 UTC
 * Server : www-6.internal.bikelink.org
   * Rails root : /var/www/bikelink
 * Process: 11599

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

 * session id: [FILTERED]
 * data: {"session_id"=>"cc0bdd89b467e8e4878621f353cb9ec0",
  "warden.user.person.key"=>[[32191], "eXLXkUJVGb_RdrnwSEz2"],
  "_csrf_token"=>"3bX99YxQwnpldv+ElZXPY5eokro8UGQ+s6wmZCuUYkE="}

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

 app/controllers/ui_nodes/rentals_controller.rb:9:in `end'
 app/controllers/application_controller.rb:47:in `process_action'
Znovu načíst