~/talk

ActionCable for Not-Another-Chat-App-Please

Talkat RailsConf 2016 · 2016-05-04..05-06· [ruby-on-rails, web-platform]

Rails 5 ActionCable brings WebSockets into Rails with concrete claims: use cookies.signed user_id for auth (no session), call action_cable.server.broadcast from controllers, jobs or models, and render partials outside requests via application_controller.render for server-generated HTML. Examples built and working: cart sync across tabs, slide presenter with client→server perform methods, per-job UUID streams for async tasks, and Trello-style collaboration. Deployment options: in-process async for single server, Redis pub/sub for multiple dynos, standalone server for scale; beta3 ships Feb 2016.

AI-written summary · about

  1. 0:00Start
  2. 2:32F5 Refresh
  3. 5:45Web Sockets
  4. 13:42First ActionCable Beta
  5. 18:16Channel
  6. 21:30Subscription
  7. 24:17Data Updates
  8. 28:26JavaScript Hooks
  9. 31:38Collaboration
  10. 32:35Asynchronous Tasks
  11. 34:59Deployment - Standalone
  12. 36:40Gotchas
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.