# File lib/mongoid/relations/metadata.rb, line 675
      def type
        @type ||= polymorphic? ? "#{as.to_s}_type" : nil
      end