RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Cache Key For Collections In ActiveRecord

I’ve been working to add caching to an application and looked around for a solution to use a cache_key for lists of objects and found nothing out there. I’ve written up some details about adding a cache_key method for activerecord collections and I’ve thrown it into a simple group_cache_key gem

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in