Skip to main content
Ask A Question
You’re not receiving notifications from this thread.

Category filter implementation (perhaps with search)

General • Asked by Sean M

Hi Chris!

At the moment I have product and industry models with has_many :through associations, and would like to list the products based on the industries. I'd like to create a category (in my case industry) filter kinda like in gorails ( on the screencasts page or like the rocketclub ( implementation.

I guess rocketclub is using AJAX version and you seem to be using turbolinks. What I also realized that your version has the tagged search query in the address bar. Could you tell me the basic differences between the 2 solutions and which approach I should take (in terms of pros/cons, time, etc.)? I couldn't find any really good tuts on this topic, so if you know some, pls share with me!

Btw., what kind of search gem you use for searching in the gorails app?

Thanks a lot,

Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 31,152+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.