@@ -4,7 +4,7 @@ module Pubsubable
|
||||
extend ActiveSupport::Concern
|
||||
|
||||
included do
|
||||
# Used by the pusher/PubSub Service we use for real time communications
|
||||
# Used by the actionCable/PubSub Service we use for real time communications
|
||||
has_secure_token :pubsub_token
|
||||
end
|
||||
end
|
||||
|
||||
@@ -12,7 +12,7 @@ class User < ApplicationRecord
|
||||
:validatable,
|
||||
:confirmable
|
||||
|
||||
# Used by the pusher/PubSub Service we use for real time communications
|
||||
# Used by the actionCable/PubSub Service we use for real time communications
|
||||
has_secure_token :pubsub_token
|
||||
|
||||
validates_uniqueness_of :email, scope: :account_id
|
||||
|
||||
Reference in New Issue
Block a user