# frozen_string_literal: true # Almacena objetos de ActivityPub, como Note, Article, etc. class ActivityPub::Object < ApplicationRecord include ActivityPub::Concerns::JsonLdConcern belongs_to :actor has_many :activity_pubs, as: :object validates :actor_id, presence: true end