From: Ammar Ali Date: 2010-11-05T15:56:43+09:00 Subject: Re: Help selecting the correct elements in an array On Fri, Nov 5, 2010 at 6:20 AM, DemetriusOlsen wrote: > I'm working on a method but the results are "the opposite" of what I > want to happen. Here's what I have in my model: > > Any help is greatly appreciated! Thanks in advance :-) If an extra query is not too expensive for your situation, how about: scores.where(["standard_id NOT IN (?)", standard_ids]) Do you really need self in those statements? Hope that helps, Ammar