Sha256: 3f766957ad2bba94ee3cb9933c1d8af7d69db5066ddd1557a8fab6f186d066a7
Contents?: true
Size: 424 Bytes
Versions: 7
Compression:
Stored size: 424 Bytes
Contents
# encoding: utf-8 module Mongoid # :nodoc: module Relations #:nodoc: module Cascading #:nodoc: class Nullify < Strategy # This cascade does not delete the referenced relations, but instead # sets the foreign key values to nil. # # @example Nullify the reference. # strategy.cascade def cascade relation.nullify end end end end end
Version data entries
7 entries across 7 versions & 2 rubygems