vendor/bundle/gems/paper_trail-8.1.2/lib/paper_trail/record_trail.rb
# Returns hash of attributes (with appropriate attributes serialized),
# omitting attributes to be skipped.
Returns hash of attributes (with appropriate attributes serialized),
omitting attributes to be skipped.
Returns hash of attributes ( with appropriate attributes serialized ) omitting attributes to be skipped .
def object_attrs_for_paper_trail
      attrs = attributes_before_change.except(*@record.paper_trail_options[:skip])
      AttributeSerializers::ObjectAttribute.new(@record.class).serialize(attrs)
      attrs
    end
def object_attrs_for_paper_trail attrs = attributes_before_change . except ( * @record . paper_trail_options [ :skip ] ) AttributeSerializers :: ObjectAttribute . new ( @record . class ) . serialize ( attrs ) attrs end
Returns hash of attributes (with appropriate attributes serialized),
omitting attributes to be skipped.
Returns hash of attributes ( with appropriate attributes serialized ) omitting attributes to be skipped .