Allow classes to be passed instead of index name strings #430

wants to merge 1 commit into


None yet

2 participants


Added functionality to allow classes responding to an :index_name method to be passed into search. Very useful when defining global or individual index names or prefixes.

karmi commented Oct 23, 2012

Hey, what's the motivation here? I mean, using is equally easy?


It is definitely just an added convenience to the library, but does bring the interface more in line with other common search gems (sunspot, thinking_sphinx, etc).

karmi commented Oct 26, 2012

Maybe, but sorry, thins feels too heavy to me...

@karmi karmi closed this Oct 26, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment