Presence for Rails Action Cable
Who is here, and never a ghost.
Presence is the "3 people are viewing this" list: who has the page open right now.
The Action Cable guide's pattern adds you on subscribed and removes you on
unsubscribed, so when a server process dies or a laptop lid closes, that callback
never runs and you stay listed forever as a ghost.
actioncable-presence owns every row by a leased process, so a killed worker's users
leave within about 10 seconds, and a silent client is dropped within about 9.
You'll be Cosmic vole.
Share the room link with a friend, or open it in a second browser.