
Marcus S
Joined
Activity
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!
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!
Cheers,
Marcus
thank you!
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?
Cheers,
Marcus
Will this work out of the box with Cancancan?
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://www.example.com/actioncable"
Any thoughts would be much apprecaited!
Cheers,
Marcus
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 ?