Skip to content

Instantly share code, notes, and snippets.

@austinbv
Created November 9, 2011 00:38
Show Gist options
  • Save austinbv/1349881 to your computer and use it in GitHub Desktop.
Save austinbv/1349881 to your computer and use it in GitHub Desktop.
:conditions => ['(`x`.y < ?
AND `x`.z > ?)
OR (`x`.a < ?
AND `x`.a > ?)
OR (`x`.b > ?)',
Date.today, Date.today, Date.today, Date.today, Date.today ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment