hello, i would like to use find_by_contents, have it search the table for things that match my query, only if a column field is a certain value.
for example i have an application for all the states in usa. If i am using the NJ search box, i would only like to limit my searches for where the state name is equal to new jersey. can i do this? from the above example it seems like i am looking for something like this? Model.find_by_contents(state:'nj'+"+statesearchstring") where state is the name of the column in my DB. thanks, -- Posted via http://www.ruby-forum.com/. _______________________________________________ Ferret-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/ferret-talk

