Marcus S


640 Experience
4 Lessons Completed
0 Questions Solved


Posted in Rails 7.1 Authentication From Scratch Discussion

Are you planning on moving away from Devise in JSP?

I'm using Hatchbox to deploy my Rails 7 application.
However, occasionally during deployment, I encounter the ActiveRecord::PreparedStatementCacheExpired error.
How can I avoid this issue to ensure uninterrupted deployments?

Nice episode! I'd love to see an example where the virutal column on one table is using data from another table!

Posted in Searchkick and Anycable-rails hangs server

It is not just w/ Anycable, I also see the same thing w/ just searchkick + elastic...

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 ?

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

© 2023 GoRails, LLC. All rights reserved.