Sha256: ab90e105adf4e444668bd5766ed3fbf7881c643e27864c8a864079b911320e21
Contents?: true
Size: 351 Bytes
Versions: 81
Compression:
Stored size: 351 Bytes
Contents
# encoding: utf-8 module Mongoid #:nodoc: module Extensions #:nodoc: module Array #:nodoc: module Parentization #:nodoc: # Adds the parent document to each element in the array. def parentize(parent, association_name) each { |obj| obj.parentize(parent, association_name) } end end end end end
Version data entries
81 entries across 81 versions & 7 rubygems