Skip to content

Instantly share code, notes, and snippets.

@johnbender
Created March 12, 2009 18:00
Show Gist options
  • Save johnbender/78203 to your computer and use it in GitHub Desktop.
Save johnbender/78203 to your computer and use it in GitHub Desktop.
Query.build do
view [:foo, :bar, :baz]
where do
:foo.eq "value"
:bar.gt 3
:baz.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