5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-18 18:36:23 +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 ActivityPub.transaction do
# Crea todos los registros necesarios y actualiza el estado # Crea todos los registros necesarios y actualiza el estado
#
# 1. Actor
# 2. Instance
# 3. Object
# 4. ActivityPub
# 5. Activity
activity.update_activity_pub_state! activity.update_activity_pub_state!
end end
rescue ActiveRecord::RecordInvalid => e rescue ActiveRecord::RecordInvalid => e