mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 23:46:22 +00:00
parent
cc654be121
commit
b6fdc8a580
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ class ActivityPub
|
||||||
include AASM
|
include AASM
|
||||||
|
|
||||||
validates :aasm_state, presence: true, inclusion: { in: %w[paused allowed blocked] }
|
validates :aasm_state, presence: true, inclusion: { in: %w[paused allowed blocked] }
|
||||||
validates :hostname, uniqueness: true, hostname: true
|
validates :hostname, uniqueness: true, hostname: { allow_numeric_hostname: true }
|
||||||
|
|
||||||
has_many :activity_pubs
|
has_many :activity_pubs
|
||||||
has_many :actors
|
has_many :actors
|
||||||
|
|
Loading…
Reference in a new issue