Ruby on Rails search for querying two tables

viz0r

New Member
I want to build a search on my website that is similar to Facebook.For example, entering a search phrase and returning results from multiple tables.In turn, I have two tables on my website which include the following: Account and Posts. I want to make a search that returns results from both tables based on a search phrase.I am confused on how to do this.Can someone point me in the right direction please.Thank you,Brian
 
Top