app/models/journaled/change_writer.rb in journaled-2.1.1 vs app/models/journaled/change_writer.rb in journaled-2.2.0
- old
+ new
@@ -26,10 +26,10 @@
record_id: model.id.to_s,
database_operation: database_operation,
logical_operation: logical_operation,
changes: JSON.dump(changes),
journaled_app_name: journaled_app_name,
- actor: actor_uri
+ actor: actor_uri,
)
end
def relevant_attributes
model.attributes.slice(*attribute_names)