lib/paper_trail/reifier.rb
def reify(version, options)
        options = apply_defaults_to(options, version)
        attrs = version.object_deserialized
        model = init_model(attrs, options, version)
        reify_attributes(model, version, attrs)
        model.send "#{model.class.version_association_name}=", version
        reify_associations(model, options, version)
        model
      end
# See `VersionConcern#reify` for documentation.
# @api private
See `VersionConcern#reify` for documentation.
See ` VersionConcern#reify ` for documentation .
def reify(version, options)
        options = apply_defaults_to(options, version)
        attrs = version.object_deserialized
        model = init_model(attrs, options, version)
        reify_attributes(model, version, attrs)
        model.send "#{model.class.version_association_name}=", version
        reify_associations(model, options, version)
        model
      end
def reify ( version , options ) options = apply_defaults_to ( options , version ) attrs = version . object_deserialized model = init_model ( attrs , options , version ) reify_attributes ( model , version , attrs ) model . send "#{model.class.version_association_name}=" , version reify_associations ( model , options , version ) model end
See `VersionConcern#reify` for documentation.
See ` VersionConcern#reify ` for documentation .
version
options
api
None