# File lib/active_record/named_scope.rb, line 19 def scoped(scope, &block) Scope.new(self, scope, &block) end