5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 19:36:21 +00:00

feat: siempre actualizar la fecha de le actore al guardar una actividad

This commit is contained in:
f 2024-02-28 18:31:28 -03:00
parent e07da7858e
commit 0e2f6276eb
No known key found for this signature in database

View file

@ -16,7 +16,7 @@ class ActivityPub
include ActivityPub::Concerns::JsonLdConcern
belongs_to :activity_pub
belongs_to :actor
belongs_to :actor, touch: true
has_one :object, through: :activity_pub
validates :activity_pub_id, presence: true