Skip to content

Instantly share code, notes, and snippets.

@johnbender
Created March 22, 2009 05:27
Show Gist options
  • Save johnbender/83084 to your computer and use it in GitHub Desktop.
Save johnbender/83084 to your computer and use it in GitHub Desktop.
ActiveRecord::Base.where{
:foo.is_not == "bar"
:foo.is_not.between 10..20
:foo.is_not.from 10, 20
:foo.is_not.in 1,2,3,4,5
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment