#3264 - answering_service#check_for_existing (ActiveRecord::RecordNotUnique) "PG::UniqueViolat
An ActiveRecord::RecordNotUnique occurred in answering_service#check_for_existing:
PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_people_on_unverified_phone"
DETAIL: Key (unverified_phone)=(4087817825) already exists.
app/formers/people/answering_services/info_form.rb:66:in `save'
-------------------------------
Request:
-------------------------------
* URL : https://www.bikelink.org/answering_service/check_for_existing
* HTTP Method: POST
* IP address : 173.164.162.129
* Parameters : {"authenticity_token"=>"Be2x7HX76IXoV1pI6Z6kHoeaNQwfoQO20tKNaw76HT6VmkeVoQ3kZFahIfuzIi+S59xSTU0+yTx+xUvrcNUCXg==", "card_model_type"=>"", "caller"=>"get_persons_info", "path"=>"activate", "card_id"=>"64494", "person"=>{"caller_id"=>"8314259207", "first_name"=>"STEPHEN", "last_name"=>"LAKE", "street_address"=>"212 MOUNTAIN VIEW AVE", "apartment_number"=>"", "city"=>"SANTA CRUZ", "state_id"=>"6", "postal_code"=>"95062", "country_id"=>"231", "phone"=>"4087817825", "verify_phone_by"=>"sms", "email"=>"STEVELAKE88888888@GMAIL.COM", "picture_id"=>"3933"}, "controller"=>"answering_service", "action"=>"check_for_existing"}
* Timestamp : 2022-12-20 20:47:50 UTC
* Server : www-7.internal.bikelink.org
* Rails root : /var/www/bikelink
* Process: 30009
-------------------------------
Session:
-------------------------------
* session id: [FILTERED]
* data: {"session_id"=>"a5741c739d5c1b28b2b910fb9c8d1d49",
"warden.user.person.key"=>[[14447], "_ZqQwkHHepxG1qSV9km7"],
"_csrf_token"=>"6Iy8di+m7q5AEc2lec54Gw2c2+cge5WHZ+AHJCBiKnA="}
-------------------------------
Backtrace:
-------------------------------
app/formers/people/answering_services/info_form.rb:66:in `save'
app/controllers/answering_service_controller.rb:153:in `check_for_existing'
app/controllers/application_controller.rb:44:in `process_action'
Znovu načítať