ephemeregames/searchify — comment on commit cc07c9fc9b5d40a92c7c4d0d0a4ccdec0827d34d
File:  line 0
By ephemeregames:

Yep I could use the select_url option for that but it feels unnatural *for polymorphic associations*.
It makes more sense to me to be redirected to a scoped resource when searching in a scoped collection.

I had this idea because I hit a bug in Mobia where you have categories for multiple owners.
The search was scoped so I was searching in a collection of categories for owner B
But when redirected, I was redirected to a category of owner A because the select_url wasn't scoped and the default scope for a category was owner A.

But yeah, scopes are not necessarily polymorphic associations...
So if I'm searching in a collection of categories for a certain date (ex: 2012-21-12), it makes no sense to access the resource for that date (i.e. passing the param 'date: 2012-21-12').
On the other hand, it doesn't seem harmful.