Sha256: 2449fe4c1d70cb594e1c7e0255215f7c4b9ed4cbb4eb2f4b8f650f70bc5be5a4
Contents?: true
Size: 332 Bytes
Versions: 31
Compression:
Stored size: 332 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 end end end end
Version data entries
31 entries across 31 versions & 2 rubygems