Ruby on Rails
HowtoGenerateMultipleAndOrSanitizedQueryConditions

Do you have a query conditions that look like this?

“(name like ‘tim%’) and (age < 10) and (category=‘friends’ or category=’family’)”

Do you need a way to easily build these queries, with the ability to add more or less conditions based on user input?

Enter RailsWhere

http://code.google.com/p/railswhere/