# File activerecord/lib/active_record/base.rb, line 1136def with_exclusive_scope(method_scoping={},&block)ifmethod_scoping.values.any?{|e|e.is_a?(ActiveRecord::Relation)}raiseArgumentError,"New finder API can not be used with_exclusive_scope. You can either call unscoped to get an anonymous scope not bound to the default_scope:\n\nUser.unscoped.where(:active => true)\n\nOr call unscoped with a block:\n\nUser.unscoped do\nUser.where(:active => true).all\nend\n\n"endwith_scope(method_scoping,:overwrite,&block)end