Posted in Reopen ActionCable after login?
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?
Will this work out of the box with Cancancan?
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!
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 ?