That both Rails-API and ActionCable were not in Rails 4 demonstrates they are simply behind the times.
actioncable
How to use actioncable in a sentence. Live example sentences for actioncable pulled from indexed public discussions.
Editorial note
That both Rails-API and ActionCable were not in Rails 4 demonstrates they are simply behind the times.
Quick take
That both Rails-API and ActionCable were not in Rails 4 demonstrates they are simply behind the times.
Example sentences
Nobody's yet figured out an optimal solution for that sort of thing, and maybe ActionCable is a good solution.
EventMachine: As I understood DHH's speech, the idea is that ActionCable abstracts all the messiness around EventMachine, Websockets, Rack and threads.
ActionCable is Rails' WebSockets wrapper library, and it addresses basically every pain point in the post.
We won't know until some ActionCable code is released but it sure didn't look complicated.
It does seem odd that -api takes years to get in, but ActionCable gets a go-straight-to-core pass without any community review first.
Rails 8 added a ton of support for Fibers, with the exception of ActionCable.
It is elegant, but still a composition of multiple layers (Turbo, Stimulus, ActionCable).
How in-depth does you understanding need to be to use ActiveRecord/ActionCable/etc?
I’m curious why they opted for this approach instead of WebSockets, especially given that Rails already includes ActionCable for WebSocket support.
You can swap out the ActionCable backend with different providers.
I am not sure why they would pick EM as base for ActionCable.
Quote examples
Saw this tweet[1] yesterday "DHH just admitted he stole ideas from #elixir and @elixirphoenix to create ActionCable @railsconf" Seems like elixirphoenix is on a right path!
Frequently asked questions
Short answers drawn from the clearest meanings and examples for this word.
How do you use actioncable in a sentence?
That both Rails-API and ActionCable were not in Rails 4 demonstrates they are simply behind the times.