Ask A Question

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?

Liam asked in 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.

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 82,329+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.