*slaps forehead*  I should have guessed that.  :)  Thanks!

-Jeff R

On Jan 11, 2010, at 14:56, Jeremy Evans wrote:

> ds.filter({:active => true} & ({:primary_office_id => ids} |
> {:secondary_office_id => ids}))
> ds.filter(:active => true).filter({:primary_office_id =>
> ids, :secondary_office_id => ids}.sql_or)

-----
Jeffrey Reinecke
[email protected]
blog.paploo.net





-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en.


Reply via email to