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

where does ruby on rails app stores session?

I am using the session to felicitate log in feature https://levelup.gitconnected.com/simple-authentication-guide-with-ruby-on-rails-16a6255f0be8Where is the session[:user_id] stored ?

View Article


NameError: uninitialized constant for sidekiq worker in production but works...

I'm setting up a background task with sidekiq and redis. Have it working completely fine in development, but when testing on staging site I get:NameError: uninitialized constant...

View Article


where does ruby on rails app stores session?

I am using the session to felicitate log in feature https://levelup.gitconnected.com/simple-authentication-guide-with-ruby-on-rails-16a6255f0be8Where is the session[:user_id] stored ?

View Article

best way to get range of keys using specific pattern in Redis

I work with Redis but I need best way to get keys from Redis .I need search by range of date (2020-06-01 to 2020-06-20) for every company_id (id is unique)example of keystat:company:2:date:2020-06-13I...

View Article

Are add-ons like Redis To Go secure for Heroku/EC2?

I'm looking into using Heroku as our platform instead of managing our own systems. We have a Ruby/Rails stack and use Resque as our background job processor. I'm evaluating addons such as RedisToGo and...

View Article


Rails 6 ActionCable/Redis production confiugration

I'm currently integrating Stimulus Reflex and Cable Ready in my application and want to deploy it to my production server. The guides on how to deploy ActionCable to production seem very outdated,...

View Article

Rails 6 ActionCable/Redis production configuration

I'm currently integrating Stimulus Reflex and Cable Ready in my application and want to deploy it to my production server. The guides on how to deploy ActionCable to production seem very outdated,...

View Article

Programmatically get the number of jobs in a Resque queue

I am interested in setting up a monitoring service that will page me whenever there are too many jobs in the Resque queue (I have about 6 queues, I'll have different numbers for each queue). I also...

View Article


Rails: redis connection string with password throws EADDRNOTAVAIL

In my environment file, I have:config.cache_store = :redis_cache_store, { url: ENV.fetch('REDIS_URL_CACHING', 'redis://localhost:6379/0')}In rails console, if I print REDIS_URL_CACHING, I get:>...

View Article


Rails 5.2 - cache is not being updated

I have this scheme in my views:_user_data.html.erb:<tbody><%= render partial: 'edit_history_inline_user', collection: @presenter.collection, as: :user, cached: Proc.new{|user|...

View Article

Rails cache store: how to configure redis_cache_store with password

In my environment file, I have:config.cache_store = :redis_cache_store, { url: ENV.fetch('REDIS_URL_CACHING', 'redis://localhost:6379/0')}In rails console, if I print REDIS_URL_CACHING, I get:>...

View Article

How to upload and display images on Ruby on Rails without storing them?

I'm making a demo for a ruby gem I created that process images and I have my application for the demo using the gem. I want the demo to allow the user to upload an image and try the demo but I don't...

View Article

Rails jobs with Sidekiq in Google Cloud Run not working

I've a working Rails application in Google Cloud Run using:Cloud BuildCloud RegistryCloud RunCloud SQLCloud StorageCloud Key Management ServiceCloud SchedulerI've configured Sidekiq to execute some...

View Article


Xero oauth2 token refresh in distributed ruby environment

We have a ruby rails front end and distributed back end services running batch jobs via Redis.The front end will acquire the initial Xero oauth2 token.The token will expire in 30 minutes, the refresh...

View Article

How can I switch redis host/pool in sidekiq?

I have multi-tenant rails application with apartment gem I can successfully switch database tenant in each worker using apartment-sidekiq. But sidekiq workers are using same redis server for all the...

View Article


Create Cart based rails app for e comerce

I'm in the beginning of creating an e commerce app for small business using react and rails, the question that I have is if we want users to add items to cart without logging in what approach should I...

View Article

Redis tries to connect to localhost on Heroku instead of REDIS_URL

I have a Rails app which uses Redis for background jobs. On Heroku I use the Heroku Redis add-on. When I deploy to Heroku, it gives me this error:Redis::CannotConnectError: Error connecting to Redis on...

View Article


URI::InvalidURIError: bad URI(is not URI?): heroku redis error

Am trying to push my rails app on heroku, am using the heroku RedisToGo add-oni have gone through this tutorial and gone through all the steps mentioned out there.But am getting this error while...

View Article

Heroku timeout when sending emails

I am on Heroku with a custom domain, and I have the Redis add-on. I need help understanding how to create a background worker for email notifications. Users can inbox message each other, and I would...

View Article

Connecting to Redis server in Windows 10 ruby on rails

I am having trouble connecting to Redis in my rails app on windows 10, and I added Redis to my gem file and setup my cable.yml file. The error that I am getting when I start my rails server is rescue...

View Article
Browsing all 873 articles
Browse latest View live


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