5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-18 14:26:22 +00:00

docs: orden en que se crean los registros

This commit is contained in:
f 2024-02-21 13:13:34 -03:00
parent b477487b65
commit 732012e14b
No known key found for this signature in database

View file

@ -24,6 +24,12 @@ module Api
ActivityPub.transaction do
# Crea todos los registros necesarios y actualiza el estado
#
# 1. Actor
# 2. Instance
# 3. Object
# 4. ActivityPub
# 5. Activity
activity.update_activity_pub_state!
end
rescue ActiveRecord::RecordInvalid => e