Rails 2.3.5 Problem Building Conditions Array dynamically when using in (?)
问题 Rails 2.3.5 I've looked at a number of other questions relating to building conditions dynamically for an ActiveRecord find. I'm aware there are some great gems out there like search logic and that this is better in Rails3. However, I'm using geokit for geospacial search and I'm trying to build just a standard conditions set that will allow me to combine a slew of different filters. I have 12 different filters that I'm trying to combine dynamically for an advanced search. I need to be able to