title: Implementing Universal search in rails 4
body: <p>I have a rails 4 application with number of models and view pages. The application layout of my application contains a search bar. But it is inactive as of now. The purpose of search bar is to allow user to search through all the models for the keyword(s) entered, basically making it a global search. Is there any gem which does universal search? Or it has to be done manually through sql queries?
  I could see way to implement search for a specific model on its view page. But I want it to search through all the models at once. How should I go about it?</p>