Dealing with complex conditions

I often find that the way I put arrays together to pass multiple conditions into
ActiveRecord::Base.find's :conditions parameter is ugly.

So I wrote a class to make it nicer :smiley:

http://pastie.caboo.se/12591

I'd like some feedback on how other people have solved this, and whether my
approach is useful to anyone else. I could well tralsform it into a plugin if
people think it works

Thanks for looking,
Gareth

Check out ez_where:
http://www.brainspl.at/articles/2006/06/30/new-release-of-ez_where-plugin