mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-18 14:26:22 +00:00
fix: la instancia puede repetirse
This commit is contained in:
parent
b67193fbca
commit
5540232b7e
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,8 @@ class DistributedPressPublisher < ApplicationRecord
|
||||||
# @return [IO]
|
# @return [IO]
|
||||||
attr_reader :logger_out
|
attr_reader :logger_out
|
||||||
|
|
||||||
# La instancia es única
|
# La instancia es necesaria pero no única
|
||||||
validates_uniqueness_of :instance
|
validates_presence_of :instance
|
||||||
|
|
||||||
# El token es necesario
|
# El token es necesario
|
||||||
validates_presence_of :token
|
validates_presence_of :token
|
||||||
|
|
Loading…
Reference in a new issue