Prashant

Joined

120 Experience
1 Lesson Completed
0 Questions Solved

Activity

I am try to use :text_middle to autocomplete but no success. I have replaced :text_start with :text_middle the same way you have done in the above video.

I want to sort the searchkick results with ransack.
@products = Product.search(query).ransack()

It is throwing error: NoMethodError: undefined method `ransack' for #<Searchkick::Results
Is it possible to use ransack and searchkick .
Help!