aboutsummaryrefslogtreecommitdiffstats
path: root/actioncable/lib/action_cable
diff options
context:
space:
mode:
authorVladimir Dementyev <dementiev.vm@gmail.com>2019-02-14 13:59:10 -0500
committerJeremy Daer <jeremydaer@gmail.com>2019-02-14 16:22:03 -0800
commitc43c83984792ac546e7610c898cf9099cc1a2ee6 (patch)
treebac5a0974cde406e72fe6ee8e2bcb76827599da5 /actioncable/lib/action_cable
parent6183483fa13bb1cac7e32f64df568fc2f9fb9a6b (diff)
downloadrails-c43c83984792ac546e7610c898cf9099cc1a2ee6.tar.gz
rails-c43c83984792ac546e7610c898cf9099cc1a2ee6.tar.bz2
rails-c43c83984792ac546e7610c898cf9099cc1a2ee6.zip
feat: support channel_prefix in pg subscription adapter
Diffstat (limited to 'actioncable/lib/action_cable')
-rw-r--r--actioncable/lib/action_cable/subscription_adapter/postgresql.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/actioncable/lib/action_cable/subscription_adapter/postgresql.rb b/actioncable/lib/action_cable/subscription_adapter/postgresql.rb
index 50ec438c3a..1d60bed4af 100644
--- a/actioncable/lib/action_cable/subscription_adapter/postgresql.rb
+++ b/actioncable/lib/action_cable/subscription_adapter/postgresql.rb
@@ -8,6 +8,8 @@ require "digest/sha1"
module ActionCable
module SubscriptionAdapter
class PostgreSQL < Base # :nodoc:
+ prepend ChannelPrefix
+
def initialize(*)
super
@listener = nil