# File lib/active_record/named_scope.rb, line 18
      def scopes
        read_inheritable_attribute(:scopes) || write_inheritable_attribute(:scopes, {})
      end