Active Users with Redis
March 22nd 2011Want to log and display the active users in your web application? Enjoy using Redis? Read on…
Want to log and display the active users in your web application? Enjoy using Redis? Read on…
In Rails 2.3, if you’re using implicit multipart emails for your ActionMailer views (the content type is part of the file name), ActionMailer will have problems locating the correct template during tests and background jobs. I ran into this problem when setting up background emailing with resque_mailer…
We just launched a REST API for our production Rails app and we wanted to keep track of the API usage by user. Inserting a row into MySQL or incrementing an existing counter on every request had inevitable scaling issues. We needed something lightweight and fast, Redis was a perfect candidate for the job…