1.1 KiB
-
ActionCable::Connection::Base
now allows intercepting unhandled exceptions withrescue_from
before they are logged, which is useful for error reporting tools and other integrations.Justin Talbott
-
Add
ActionCable::Channel#stream_or_reject_for
to stream if record is present, otherwise reject the connectionAtul Bhosale
-
Add
ActionCable::Channel#stop_stream_from
and#stop_stream_for
to unsubscribe from a specific stream.Zhang Kang
-
Add PostgreSQL subscription connection identificator.
Now you can distinguish Action Cable PostgreSQL subscription connections among others. Also, you can set custom
id
incable.yml
configuration.SELECT application_name FROM pg_stat_activity; /* application_name ------------------------ psql ActionCable-PID-42 (2 rows) */
Sergey Ponomarev
-
Subscription confirmations and rejections are now logged at the
DEBUG
level instead ofINFO
.DHH
Please check 6-0-stable for previous changes.