#2951 - help faq (ActionView::Template::Error) "undefined method `faqs' for #<ActiveRecord::Relation
An ActionView::Template::Error occurred in help#faq:
undefined method `faqs' for #<ActiveRecord::Relation [#<FaqCategory id: 1, name: "General", created_at: "2017-04-27 22:20:22", updated_at: "2020-08-07 14:43:01", code: "general">, #<FaqCategory id: 2, name: "eLocker-specific", created_at: "2017-04-27 22:20:22", updated_at: "2020-08-07 14:43:01", code: "elocker_specific">, #<FaqCategory id: 3, name: "Group Parking Facility", created_at: "2017-04-27 22:20:22", updated_at: "2020-08-07 14:43:01", code: "group_parking">, #<FaqCategory id: 4, name: "Transit Card Access", created_at: "2019-10-25 13:23:24", updated_at: "2020-08-07 14:43:01", code: "transit_card_access">]>
app/views/help/_faq_card.html.slim:5
-------------------------------
Request:
-------------------------------
* URL : https://www.bikelink.org/help/faq?term=&_=1645063059548
* HTTP Method: GET
* IP address : 173.164.162.129
* Parameters : {"term"=>"", "_"=>"1645063059548", "controller"=>"help", "action"=>"faq"}
* Timestamp : 2022-02-17 02:01:56 UTC
* Server : www-5.internal.bikelink.org
* Rails root : /var/www/bikelink
* Process: 30149
-------------------------------
Session:
-------------------------------
* session id: [FILTERED]
* data: {"session_id"=>"4f9f39cca479667efad672e5c7effde6",
"warden.user.person.key"=>[[14447], "_ZqQwkHHepxG1qSV9km7"],
"_csrf_token"=>"tnlNeH6B/4vfn3VOCzsrmaZpZ5zncvItAg1FYeUtX/M="}
-------------------------------
Backtrace:
-------------------------------
app/views/help/_faq_card.html.slim:5
app/views/help/faq.js.erb:6
app/controllers/application_controller.rb:47:in `process_action'
Znovu načítať