Reputation: 31
I'm trying to run a query where I want to ignore records with a certain email address...
@foo = Bar.all(:email => 'xxx') <--- Except I want to negate where this email address exists.
Please let me know how I can do it.
Thanks!
Upvotes: 3
Views: 2857