undefined method `count' for nil:NilClass in maps#list:

this is different one

An ActionView::Template::Error occurred in maps#list:

 undefined method `count' for nil:NilClass
 app/views/modern/maps/_list_of_locations.html.slim:51


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

 * URL        : https://www.bikelink.org/maps/list
 * HTTP Method: GET
 * IP address : 98.35.231.213
 * Parameters : {"controller"=>"modern/maps", "action"=>"list"}
 * Timestamp  : 2021-05-17 20:33:29 UTC
 * Server : www-3.internal.bikelink.org
   * Rails root : /var/www/bikelink
 * Process: 30089

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

 * session id: [FILTERED]
 * data: {"session_id"=>"6e7eeaaeb7df6200d015f3770efd522e",
  "_csrf_token"=>"+kf997aUs1jZF7LNxi9RrrN1zhhWzH5u5USV8zkFSbA=",
  "person_return_to"=>"/cards/add_value"}

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

 app/views/modern/maps/_list_of_locations.html.slim:51
 app/views/modern/maps/_list_of_locations.html.slim:20
 app/views/modern/maps/list.html.slim:6

Znovu načítať