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

Version Path
drogus-mongo_mapper-0.6.10 lib/mongo_mapper/plugins/associations/many_polymorphic_proxy.rb
mongo_mapper-unstable-2010.2.9 lib/mongo_mapper/plugins/associations/many_polymorphic_proxy.rb
mongo_mapper-unstable-2010.2.8 lib/mongo_mapper/plugins/associations/many_polymorphic_proxy.rb
mongo_mapper-unstable-2010.2.5 lib/mongo_mapper/plugins/associations/many_polymorphic_proxy.rb
mongo_mapper-unstable-2010.2.4 lib/mongo_mapper/plugins/associations/many_polymorphic_proxy.rb
novelys_mongo_mapper-0.6.12 lib/novelys_mongo_mapper/plugins/associations/many_polymorphic_proxy.rb
novelys_mongo_mapper-0.6.11 lib/novelys_mongo_mapper/plugins/associations/many_polymorphic_proxy.rb
mongo_mapper-unstable-2010.2.3 lib/mongo_mapper/plugins/associations/many_polymorphic_proxy.rb
novelys_mongo_mapper-0.6.10 lib/mongo_mapper/plugins/associations/many_polymorphic_proxy.rb
mongo_mapper-unstable-2010.2.2 lib/mongo_mapper/plugins/associations/many_polymorphic_proxy.rb
mongo_mapper-unstable-2010.2.1 lib/mongo_mapper/plugins/associations/many_polymorphic_proxy.rb
mongo_mapper-unstable-2010.1.31 lib/mongo_mapper/plugins/associations/many_polymorphic_proxy.rb
mongo_mapper-unstable-2010.1.30 lib/mongo_mapper/plugins/associations/many_polymorphic_proxy.rb
mongo_mapper-unstable-2010.1.29 lib/mongo_mapper/plugins/associations/many_polymorphic_proxy.rb
mongo_mapper-unstable-2010.1.28 lib/mongo_mapper/plugins/associations/many_polymorphic_proxy.rb
mongo_mapper-unstable-2010.1.27 lib/mongo_mapper/plugins/associations/many_polymorphic_proxy.rb
mongo_mapper-unstable-2010.1.26 lib/mongo_mapper/plugins/associations/many_polymorphic_proxy.rb
mongo_mapper-unstable-2010.1.25 lib/mongo_mapper/plugins/associations/many_polymorphic_proxy.rb
mongo_mapper-unstable-2010.1.22 lib/mongo_mapper/plugins/associations/many_polymorphic_proxy.rb
mongo_mapper-unstable-2010.1.21 lib/mongo_mapper/plugins/associations/many_polymorphic_proxy.rb