Questions tagged [cableready]

Use for Ruby web development with the CableReady project.

CableReady is a Ruby gem that was first released in May 2017. It lets you create great real-time user experiences by triggering client-side DOM changes, events and notifications over ActionCable Websockets.

7 questions
1
vote
0 answers

Rails 7, Action cable: WebSocket error occurred: wrong number of arguments (given 2, expected 1)

I have a Rails 7 application running action cable and cable ready on linode. It works fine locally. However, on staging action cable does not work. Started GET "/cable" for 109.155.210.18 at 2023-06-22 15:24:01 +0100 Started GET "/cable" [WebSocket]…
1
vote
1 answer

CableReady (Rails) Basic case giving mystifying error message

cable_ready 4.5.0 rails 6.1.4.1 ruby 3.0.2p107 This is a simple example from the basic tutorial (https://www.youtube.com/watch?v=F5hA79vKE_E) I suspect the error I am getting is because either cable_ready or rails evolved a little and created a tiny…
pitosalas
  • 10,286
  • 12
  • 72
  • 120
1
vote
0 answers

rails render_to_string of an partial that contain a