Removes the condition(s) specified in skips from the query.
Post.order('id asc').except(:order)# removes the order conditionPost.where('id > 10').order('id asc').except(:where)# removes the where condition but keeps the order
# File activerecord/lib/active_record/relation/spawn_methods.rb, line 59
def except(*skips)
relation_with values.except(*skips)
end