# File lib/pacecar/polymorph.rb, line 9
      def has_polymorph(name)
        scope "for_#{name}_type", ->(type) {
          polymorph_type = "#{name}_type"
          where(polymorph_type => type)
        }
      end