From: Roger Pack Date: 2009-07-14T22:05:39+09:00 Subject: Re: find(:conditions=>cond_selection > This string: > cond_selection[:license_id]=1 OR cond_selection[:license_id]=3 > doesn't work! Hmm. Perhaps better asked in the rails list but I'll give it a shot. since it's two values for one variable, and a hash maps one to one, you'll need to use an array [sorry]--at least AFAIK. So cond_selection = ["public = ? and (license_id = ? or license_id = ?)", true, 1, 3] something like that. I'm sure there are helpers out there to make that less annoying to use, though I don't see any listed as gems per se. GL. =r -- Posted via http://www.ruby-forum.com/.