I found some great Ruby code to assist in creating a simplistic search engine for your Rails app. It can be found on the Rails Wiki under TextSearch. I recommend clicking on the "edit" button at the bottom to copy and paste the code out of the text field because some of the syntax gets lost on the page version. Just don't click save :)

You may want to add '%" on either side of the search terms. This will increase results by returning words like "redesign" when the term "design" has been searched. There is also some code on the page to help search multiple keywords instead of phrases. This could be altered to act like Google where if you want to search by a phrase you encapsulate the phrase with quotes. You would then just do a check for quotes before breaking the words into an array.

Comments

Jeremy Boles

Brilliant!! Thanks for pointing that out!

watches replica http://www.samewatches.net/

clock rolexwatches . This edition is going to be restricted to two,000 items globally and it is accessible in possibly polished (proven) or satin watches Cellini . The chrome steel situation is forty three.seven mm having a rotating bezel that characteristics a 360raduated scale fake rolex watches . It's waterresistant to 300 meters (one,000 ft) and includes a "Blackbird special" pilot bracelet. fake Glashutte The motion is really a 38jewel Breitling Calibre forty four automated motion that's been COSC qualified (all Breitlings are COSC chronometer accredited). Look into a DLC edition of this timepiece right here. Essentially the most notable distinction in between this as well as a common Blackbird reproduction view, Speed Master omega will be the red accents around the dial. Breitling releases an additional restricted version reproduction view in honor with the SR71 Blackbird, tremendous rapid, tremendous spy aircraft Lanieres watches , cheap fake watches that set a