ActiveRecord::SpawnMethods
module ActiveRecord::SpawnMethods
Public Instance Methods
Removes from the query the condition(s) specified in skips
.
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
# File activerecord/lib/active_record/relation/spaw