#3388 - An ActiveRecord::RecordInvalid occurred in answering_service#add_value:
An ActiveRecord::RecordInvalid occurred in answering_service#add_value:
Validation failed: Email has already been taken
app/models/m_transaction.rb:169:in `purchase'
-------------------------------
Request:
-------------------------------
* URL : https://www.bikelink.org/answering_service/add_value
* HTTP Method: POST
* IP address : 173.164.162.129
* Parameters : {"authenticity_token"=>"Rn+ky2L+pfQ6svOSYV1E8TkY3/R5/ZBTfoSjm1JHUYISbSkY1fKuL1kxMpGTHU+YmboHr+X/8myvD8gQDAEiRg==", "card_id"=>"51378", "amount"=>"2000", "person_id"=>"", "path"=>"", "m_transaction"=>{"first_name"=>"John", "last_name"=>"Weeks", "street_address"=>"2343 26th Ave.", "city"=>"San Francisco", "address_state_id"=>"6", "postal_code"=>"94116", "country_id"=>"231"}, "payment_method_nonce"=>"tokencc_bd_cw9qgj_f8djqx_6xtmwf_656t3h_pv5", "promotion_code"=>"", "device_data"=>"{\"device_session_id\":\"4043c5dc79f7503df7cc0de56ba78e32\"}", "controller"=>"answering_service", "action"=>"add_value"}
* Timestamp : 2023-01-18 22:38:06 UTC
* Server : www-5.internal.bikelink.org
* Rails root : /var/www/bikelink
* Process: 11873
-------------------------------
Session:
-------------------------------
* session id: [FILTERED]
* data: {"session_id"=>"db9cc32507b9b58bc52470026d5a16c9",
"warden.user.person.key"=>[[14447], "_ZqQwkHHepxG1qSV9km7"],
"_csrf_token"=>"ZX+gmkrbNLAAdERQoabCXC+Lb7+3KpWdNfBdK3b5zVs="}
-------------------------------
Backtrace:
-------------------------------
app/models/m_transaction.rb:169:in `purchase'
app/models/m_transaction.rb:204:in `purchase_add_value'
app/controllers/answering_service_controller.rb:62:in `add_value'
app/controllers/application_controller.rb:44:in `process_action'
Znovu načíst