Tagged with ransack gem

Fri May 18, 2018 1:29 PM
activity
ensure accuracy in search results
Fri May 18, 2018 1:12 PM
guide
Problem: Ransack will only search for one keyword or phrase such as, "Jumpity Jump", without quotations. Using quotations or commas such as in "Jumpity Jump" or, "Jumpity, Jump" (with or without quotations). returns a blank result. Test conditions: Randomly selected records were edited to include varied words/phrases in searched fields, such as in the following examples: jump jumpity jump jimpity jump jump rabbit jumpity jumpity rabbit Solution: Custom predicates added to initializer based on Stack Overflow answer linked at end.more
Fri May 18, 2018 1:09 PM
activity
Refining the Ransack gem to properly search for multiple strings