Hi,
I really need help with making the ‘searches_on :all’ in Duane J.'s
TextSearch work with MySQL (not sure if it works with other db’s).
I realize that there are other search packages out there. But this
particular solution best fits my small needs of searching a small
database.
I’ve gotten it to work when specifying the specific table column names:
searches_on :title :address :foobar
But due to the nature of my application which switches primary db tables
based on user choice, I really need the dynamism of ‘searches_on :all’
to work so that search functionality works with any table (where column
names differ).
I’ve been studying the code of Duane’s ‘search.rb’, but cannot find the
bug that stops ‘:all’ from working.
Can somebody please suggest a fix?
Thank you!
Matt
–
Matt C. Wagner
Information Security Analyst
Network Intrusion Detection
Security Operations Center
Corporate Information Security
Wells Fargo Bank