Flowdock
except(*skips) public

Removes from the query the condition(s) specified in skips.

Example:

Post.order('id asc').except(:order)                  # discards the order condition
Post.where('id > 10').order('id asc').except(:where) # discards the where condition but keeps the order
Show source
Register or log in to add new notes.