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

How does searchkick work with Friendly Id for scoped objects?

General • Asked by Satchit Shenoy

I've developing an app where posts are nested under locations and are also scoped by location. Through Search, I am able to locate these posts under the location/:id/posts, but not under the location/slug/posts route. I get an empty result. What am I missing? Also, is it possible to locate these posts without nesting the routes?

Thanks!


Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 30,005+ 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.