Sha256: 16ec23d4d85890278c2ab3f8a4b9122a391e3a728cd7fd8b49d928565bdf4d2c
Contents?: true
Size: 251 Bytes
Versions: 19
Compression:
Stored size: 251 Bytes
Contents
module MongoMapper module Associations class ManyPolymorphicProxy < ManyDocumentsProxy private def apply_scope(doc) doc.send("#{@association.type_key_name}=", doc.class.name) super end end end end
Version data entries
19 entries across 19 versions & 5 rubygems