Marcus S


560 Experience
4 Lessons Completed
0 Questions Solved


Posted in Reopen ActionCable after login?

Fantastic, thanks for the tip Chris!



Posted in Reopen ActionCable after login?

Hey Folks,

I'm currently using Jumpstart and Stimulus Reflex.

After logging in, I am getting an error in the Browser's JS console:

The ActionCable connection is not open! `this.isActionCableConnectionOpen()` must return true before calling `this.stimulate()`

If I refresh the page (after being logged in), the websocket opens and all is good.

Is there a way I can reopen the ActionCable websocket after logging in?



Posted in Introduction to Stimulus Reflex Discussion

Will this work out of the box with Cancancan?

Posted in How do I change the actioncable default path?

Hi there,

I have an ecommerce website that sells cables, and as such I'd like to use /cable, /cables etc in my base routes.
Unfortunately activecable uses the '/cable' path by default. Is there any way I can change this?

So far I've tried changing in my application.rb:

config.action_cable.url = "ws://"

Any thoughts would be much apprecaited!



Posted in SEEKING FREELANCER, Colorado Springs, remote: true

Have you considered bundling up id3v2 or eyeD3 and sticking it on AWS lambda. You can then use S3 events to trigger the lambda.

Posted in cloudflare vs cloudfront vs ?

If you are using S3 it is pretty trivial to use it as as origin for cloudfront.

On an aside, you should also look at using webp w/poly fills to speed up your images


Posted in Align Images with Text

have you tried using prawn tables ?

logo Created with Sketch.

Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

© 2021 GoRails, LLC. All rights reserved.