#3167 - An ActiveRecord::RecordInvalid occurred in people#cancel_change_email
An ActiveRecord::RecordInvalid occurred in people#cancel_change_email:
Validation failed: Either email or unverified_email must be set, but email and unverified_email is/are not set.
app/controllers/people_controller.rb:51:in `cancel_change_email'
-------------------------------
Request:
-------------------------------
* URL : https://bikelink.org/people/57626/cancel_change_email
* HTTP Method: POST
* IP address : 76.126.48.30
* Parameters : {"_method"=>"post", "authenticity_token"=>"TWf8OTx06jViaFKwm32Fz7n5MzgI1VCd6zYPj96I9efzhgqlevaONKB1i6Px6vU/lDjY1PgUho1KzGWmAgapDg==", "controller"=>"people", "action"=>"cancel_change_email", "id"=>"57626"}
* Timestamp : 2022-09-30 21:33:09 UTC
* Server : www-6.internal.bikelink.org
* Rails root : /var/www/bikelink
* Process: 21481
-------------------------------
Session:
-------------------------------
* session id: [FILTERED]
* data: {"session_id"=>"5c19adb269eceb613532d4780ef14ecd",
"_csrf_token"=>"8JBXOI6wdenlzhpEqJyDFVHQrXcGCAnbFGdKxhblvew=",
"warden.user.person.key"=>[[57626], "z8ePkxXZw6FBhfb9tRsx"]}
-------------------------------
Environment:
-------------------------------
* HTTP_HOST : bikelink.org
* HTTP_ORIGIN : https://bikelink.org
* HTTP_REFERER : https://bikelink.org/people/me
-------------------------------
Backtrace:
-------------------------------
app/controllers/people_controller.rb:51:in `cancel_change_email'
app/controllers/application_controller.rb:44:in `process_action'
Znovu načíst