# File lib/active_record/relation.rb, line 239
    def scoping
      @klass.with_scope(self, :overwrite) { yield }
    end