New Discussion

Notifications

You’re not receiving notifications from this thread.

How do I pass my wizard form data to my search index page as filters/parameters?

0
Databases

I cannot for the life of me figure this out. I'm using the Algolia search API along with the Algolia gem, but I didn't set it up in the app I'm working on. The Algolia search is attached to my Projects resource and I've created a new resource for the wizard via the wicked gem called Findhomes. Do I need to need to connect these resources somehow? Or can I just pass the data per attribute from the Findhome form and allocate them to the filters in the Projects resource on the Projects index page? I feel like I'm way out of my depth on this one and there aren't any senior devs on my team that can help me out at the moment!

EDIT: Apologies for the lack of code - I wasn't sure what was relevant, so I didn't pile a bunch of unnecessary code into the question. Happy to provide any code upon request.

Join the discussion
Create an account Log in

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.