Sha256: 8d7851379a66aa78952ff4135920e3eb215ffbc647d4ebe18c41a1df75f13fda
Contents?: true
Size: 280 Bytes
Versions: 32
Compression:
Stored size: 280 Bytes
Contents
module MongoMapper module Plugins module Associations class ManyPolymorphicProxy < ManyDocumentsProxy private def apply_scope(doc) doc[reflection.type_key_name] = doc.class.name super end end end end end
Version data entries
32 entries across 32 versions & 4 rubygems