Hello Forest, I installed Forest Admin for my Rails app. I get all the data but the search and filter features don’t work.
I am searching in the “words” collection for “voiture” and the search returns the default list of data. If I add a filter Content Is “voiture”, I get the same result.
The account name is “Dictionnaire”. I use rails 6.0.3.1 and Postgres (pg 1.2.3).
I upgraded to forest-rails: 5.2.2 and I still encounter the issue. I use activerecord 6.0.3.2, I remember I had to downgrade to an earlier activerecord version a few months ago to make Forest work, is there still an issue with the last version of activerecord?
I personally don’t know if there is a compatibility issue of Forest Admin with the latest versions of activerecord. Could you try to downgrade to help us isolate a potential compatibility issue and investigate?
Hey, in fact, I’m not sure if it was with activerecord (the slack discussion isn’t accessible anymore). I have another app running on Rails 5.2 and it works fine. I tried to downgrade to a former version of forest_liana but I still can’t navigate through the data, search it and filter it. Unfortunately, I can’t downgrade to a former Rails version
I just have this in logs when I load the Word collection but nothing else when I perform a search, use the page navigation at the bottom or set a filter:
Started OPTIONS “/dictionnaire/forest/Word” for 93.19.172.143 at 2020-09-09 19:14:22 +0000
I, [2020-09-09T19:14:22.900990 #14689] INFO – : [07c6d6d4-1fc8-4dec-ac3e-cce6bbe9e385] Started GET “/dictionnaire/forest/Word” for 93.19.172.143 at 2020-09-09 19:14:22 +0000
I, [2020-09-09T19:14:22.902890 #14689] INFO – : [07c6d6d4-1fc8-4dec-ac3e-cce6bbe9e385] Processing by ForestLiana::UserSpace::WordController#index as JSON
I, [2020-09-09T19:14:22.902953 #14689] INFO – : [07c6d6d4-1fc8-4dec-ac3e-cce6bbe9e385] Parameters: {“collection”=>“Word”}
Okey so i’ll need the request send to session.bugnag.com this mean there is an error
Plus I’ll need the request send on /Words once you click to open the second page