Skip to content

Instantly share code, notes, and snippets.

@jamespenguin
Created July 24, 2014 16:38
Show Gist options
  • Save jamespenguin/bf8c319c56ccada8309e to your computer and use it in GitHub Desktop.
Save jamespenguin/bf8c319c56ccada8309e to your computer and use it in GitHub Desktop.
# totally fine
Sequel.|(
Sequel.expr(:last_sent) < Time.now - repeat_threshold,
Sequel.expr(:last_sent) => nil
),
# instant runtime error
Sequel.|(
Sequel.expr(:last_sent) => nil,
Sequel.expr(:last_sent) < Time.now - repeat_threshold
),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment