#3345 - An ActiveRecord::StatementInvalid occurred in blocked_cards#index:

An ActiveRecord::StatementInvalid occurred in blocked_cards#index:

 PG::UndefinedTable: ERROR:  missing FROM-clause entry for table "people"
LINE 18:       ) WHERE (CONCAT(people.first_name, ' ', people.last_na...
                              ^

 app/datatables/cards/blocked_cards_datatable.rb:14:in `as_json'


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

 * URL        : https://www.bikelink.org/cards/blocked_cards.json?sEcho=2&iColumns=5&sColumns=%2C%2C%2C%2C&iDisplayStart=0&iDisplayLength=50&mDataProp_0=0&sSearch_0=&bRegex_0=false&bSearchable_0=true&bSortable_0=true&mDataProp_1=1&sSearch_1=&bRegex_1=false&bSearchable_1=true&bSortable_1=true&mDataProp_2=2&sSearch_2=&bRegex_2=false&bSearchable_2=true&bSortable_2=false&mDataProp_3=3&sSearch_3=&bRegex_3=false&bSearchable_3=true&bSortable_3=false&mDataProp_4=4&sSearch_4=&bRegex_4=false&bSearchable_4=true&bSortable_4=false&sSearch=b&bRegex=false&iSortCol_0=0&sSortDir_0=desc&iSortingCols=1&_=1679678305960
 * HTTP Method: GET
 * IP address : 98.35.154.160
 * Parameters : {"sEcho"=>"2", "iColumns"=>"5", "sColumns"=>",,,,", "iDisplayStart"=>"0", "iDisplayLength"=>"50", "mDataProp_0"=>"0", "sSearch_0"=>"", "bRegex_0"=>"false", "bSearchable_0"=>"true", "bSortable_0"=>"true", "mDataProp_1"=>"1", "sSearch_1"=>"", "bRegex_1"=>"false", "bSearchable_1"=>"true", "bSortable_1"=>"true", "mDataProp_2"=>"2", "sSearch_2"=>"", "bRegex_2"=>"false", "bSearchable_2"=>"true", "bSortable_2"=>"false", "mDataProp_3"=>"3", "sSearch_3"=>"", "bRegex_3"=>"false", "bSearchable_3"=>"true", "bSortable_3"=>"false", "mDataProp_4"=>"4", "sSearch_4"=>"", "bRegex_4"=>"false", "bSearchable_4"=>"true", "bSortable_4"=>"false", "sSearch"=>"b", "bRegex"=>"false", "iSortCol_0"=>"0", "sSortDir_0"=>"desc", "iSortingCols"=>"1", "_"=>"1679678305960", "controller"=>"cards/blocked_cards", "action"=>"index", "format"=>"json"}
 * Timestamp  : 2023-03-24 17:19:10 UTC
 * Server : www-5.internal.bikelink.org
   * Rails root : /var/www/bikelink
 * Process: 7489

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

 * session id: [FILTERED]
 * data: {"session_id"=>"f8debfec3f3159ffa6078388aed03cc5",
  "warden.user.person.key"=>[[31069], "aS4D8gZPuz3F2YRuq8Wc"],
  "_csrf_token"=>"VVTrjGseaUwKRDYcd9MKneWF1st2pyEjp6HUXlugoQM="}


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

 app/datatables/cards/blocked_cards_datatable.rb:14:in `as_json'
 app/controllers/cards/blocked_cards_controller.rb:7:in `block (2 levels) in index'
 app/controllers/cards/blocked_cards_controller.rb:4:in `index'
 app/controllers/application_controller.rb:44:in `process_action'
Znovu načíst