Validation failed: Phone is the wrong length (should be 10 characters)

An ActiveRecord::RecordInvalid occurred in cards#add_value:

 Validation failed: Phone is the wrong length (should be 10 characters)
 app/controllers/application_controller.rb:34:in `block in <class:ApplicationController>'


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

 * URL        : https://www.bikelink.org/cards/add_value
 * HTTP Method: GET
 * IP address : 99.124.159.115
 * Parameters : {"controller"=>"cards", "action"=>"add_value"}
 * Timestamp  : 2021-05-02 17:49:50 UTC
 * Server : www-4.internal.bikelink.org
   * Rails root : /var/www/bikelink
 * Process: 2245

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

 * session id: [FILTERED]
 * data: {"session_id"=>"f4ec01013697f6000eaa5b74ef30008a",
  "requested_uri"=>"https://www.bikelink.org/cards/add_value",
  "warden.user.person.key"=>[[4698], "VrETcC"],
  "flash"=>{"discard"=>[], "flashes"=>{"notice"=>"Signed in successfully."}}}

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

 app/controllers/application_controller.rb:34:in `block in <class:ApplicationController>'
Znovu načíst