The Ransack search method is just an alias. Instead, you can use the ransack
method.
Instead:
@q = Person.search(params[:q]) @people = @q.result(:distinct => true)
Using:
@q = Person.ransack(params[:q]) @people = @q.result(:distinct => true)
Person.search should call ThinkingSphinx as usual.
source share