search for: ab676665

Displaying 1 result from an estimated 1 matches for "ab676665".

Did you mean: 676665
2006 Mar 03
3
dynamic queries
Is there an easy (and secure) way to search your database when you don''t know the number of parameters ahead of time? I can see doing it by concatenating together an sql query, but hopefully rails provides a more elegant way to do this with ActiveRecord without making a ginormous switch statement? For example, lets say my search form has 4 different input boxes. I only want the query