Flowdock
method

except

Importance_1
v3.2.8 - Show latest stable - 0 notes - Class: ActiveRecord::SpawnMethods
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.