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
For example, lets say my search form has 4 different input boxes. I
want the query to search on fields that are actually provied by the user
when they submit. Thanks in advance.