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