Quantcast
Channel: Active questions tagged redis+ruby-on-rails - Stack Overflow
Browsing all 873 articles
Browse latest View live
↧

Rails 7.1 Error when reading active record model from redis cache

We have a problem during upgrade Rails from 7.0.8 to 7.1.3.2 with reading AR models from Redis cache.We have several places where we cache AR models with Redis:Rails.cache.fetch("key_name") {...

View Article


Rails 7.1 Turbo stream not working on localhost, but works when deployed to...

I have a very simple Rails 7.1.3.4 app that is essentially a dashboard, where it uses Turbo Streams to display model attributes in real-time. When I deploy my app to Heroku, everything works as...

View Article


Is there a way to access session stored in redis in log configuration stage...

I have a rails 7 web app, which uses redis, hiredis, redis-actionpack to store session data. We also use devise for auth. Now, I wish to use log tags to include user_id in every line the logger logs....

View Article

Store Rails session using Redis

The default session store for Rails is cookie_store. This makes the session be stored on the client side (correct me if I am wrong).I want to change this default behavior, so that I can store the...

View Article

Whats the best practice way to initialise a Redis pub/sub subscriber in a...

I have a collection of Rails apps, and I want to have some of them subscribe to a channel waiting for messages. They are all connected to the same Redis server already, but I'm just not sure where to...

View Article


Herkou Redis - certificate verify failed (self signed certificate in...

I have been using heroku redis for a while now on one of my side projects. I currently use it for 3 thingsIt serves as a place for me to store firebase certificatesIt is used for caching data on the...

View Article

SSE over https not working

I am having an issue with SSE over https, let me make it clear, I have an Nginx server that listen to https, and a Rails Puma in the back, So I have this in the js( coffescript ):initStream = () ->...

View Article

redis-rails and acl getting NOPERM with turbo broadcast

We are trying to set passwords on our redis.redis.conf:user default on >xxxxxxxx ~* +@alluser user01 on >xxxxxxxx ~* +@allIn our environment variables we...

View Article


How to enable TLS for Redis 6 on Sidekiq?

ProblemOn my Ruby on Rails app, I keep getting the error below for the Heroku Redis Premium 0 add-on:OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=error: certificate verify failed (self...

View Article


Uploading video to S3 via sidekiq / Carrierwave on Heroku rails app

I have a Rails 7 app running on Heroku. The app is simple, in theory: Users sign up, and can upload video files as part of a survey.I'm using Carrierwave for the upload process, but ran into memory and...

View Article

Redis: weird protocol/network errors

I'm running Redis and connecting from Ruby using ezmobius's Redis gem[1].Periodically (about once a day) I get a series of exceptions in my Rails app caused by Redis returning strange results.They are...

View Article

Rails error: can't activate redis (>= 3, < 5), already activated redis-5.0.4

I tried to deploy my Rails app, and got the errorcan't activate redis (>= 3, < 5), already activated redis-5.0.4. Make sure all dependencies are added to Gemfile. (Gem::LoadError)I've tried...

View Article

Finding Scheduled Delayed job in resque via rails console

In Rails we can get the workers infor easily. I used resque-schedule for delayed Job purpose and now I want to fetch all delayed job list via rails console.

View Article

Browsing all 873 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>