Skip to content

Instantly share code, notes, and snippets.

@johnbender
Created March 12, 2009 20:36
Show Gist options
  • Save johnbender/78269 to your computer and use it in GitHub Desktop.
Save johnbender/78269 to your computer and use it in GitHub Desktop.
Query.build do
view [:foo, :bar, :baz]
where do
:foo.is == "value"
:bar.is > 3
:baz.is.in ["value", 3, :value]
end
order asc
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment