Ruby on Rails Tuesday, February 26, 2013

On Tue, Feb 26, 2013 at 2:42 PM, Matt Jones <al2o3cr@gmail.com> wrote:
> Plan.where('user_id NOT IN ?', [3,4,7])

Slight correction:

Plan.where('user_id NOT IN (?)', [3,4,7])

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment