Displaying 1 result from an estimated 1 matches for "filter_a".
2007 Jul 05
3
Using conditions appropriately
...in my logic with respect to
efficiency.
I have a basic view that is submitting information on three variables
directly to this function. The information is accessible simply through
params[:filtera1], params[:filtera2] and params[:filtera1].
I''m trying to build a find that will check the filter_a column in my
database table (places) and list the record if filter_a matches any one
of the three parameters just passed to it.
The difficulty comes from two areas
1. I have not perfected the right syntax for using OR in conditions and
most of the documentation I have found is not too helpful.
2...