instance method disconnect

Ruby on Rails edge

Since edge

Signature

disconnect()

This method is called every time an Action Cable client disconnects. Override it in your class to cleanup the relevant application state (e.g., presence, online counts, etc.)

Source
# File actioncable/lib/action_cable/connection/base.rb, line 88
      def disconnect
      end

Defined in actioncable/lib/action_cable/connection/base.rb line 88 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionCable::Connection::Base

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close