Sha256: 2764e901496e1ae5c29ff0982f46f51e709768e54b4e93c886087eb9d36c63cb
Contents?: true
Size: 313 Bytes
Versions: 1
Compression:
Stored size: 313 Bytes
Contents
# encoding: UTF-8 module MongoMapper module Plugins module Associations class ManyPolymorphicProxy < ManyDocumentsProxy private def apply_scope(doc) doc[association.type_key_name] = doc.class.name super end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mongo_mapper_ign-0.7.8 | lib/mongo_mapper/plugins/associations/many_polymorphic_proxy.rb |