Sha256: 253ee8ec4172765a9c7e0e07e6af57c3ae8921eb824f58e4646d9f3430e4f602
Contents?: true
Size: 400 Bytes
Versions: 25
Compression:
Stored size: 400 Bytes
Contents
# encoding: utf-8 module Mongoid #:nodoc: module Extensions #:nodoc: module Nil #:nodoc: module Assimilation #:nodoc: # Will remove the child object from the parent. def assimilate(parent, options, type = nil) parent.remove_attribute(options.name); self end def collectionize to_s.collectionize end end end end end
Version data entries
25 entries across 25 versions & 6 rubygems