module Mongoid::Association::Marshalable
def marshal_dump
- Since: - 3.0.15
Returns:
-
(Array- The dumped data.
Other tags:
- Example: Dump the proxy. -
def marshal_dump [ _base, _target, _association ] end
def marshal_load(data)
- Since: - 3.0.15
Returns:
-
(Array- The loaded data.
Parameters:
-
data(Array) -- The data to set on the proxy.
Other tags:
- Example: Load the proxy. -
def marshal_load(data) @_base, @_target, @_association = data extend_proxy(_association.extension) if _association.extension end