How to use Kredis with Rails

December 13, 2021

Track your progress

Sign in to track your progress and access subscription-only lessons.

Log In

Your Teacher

Hi, I'm Chris. I'm the creator of GoRails, Hatchbox.io and Jumpstart. I spend my time creating tutorials and tools to help Ruby on Rails developers build apps better and faster.

About This Episode

Learn how to use Kredis and see it works by implementing a recent searches unique list

Notes

Kredis is a high level wrapper around Redis. It adds data types and other functionality making Redis much easier to work with in Rails applications. We'll take a look at how to use it to implement a "recent searches" feature in a Rails app by simply adding Kredis to our model and interacting with it in our controllers.

Resources

Want to stay up-to-date with Ruby on Rails?

Join 86,796+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.