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!


I published cacheable_attr about two months ago and finally found time to post up here.

Simply declare an attribute as cacheable with a TTL and define a method with that attribute name with “_uncached” at the end of the method name. This allows you to bypass caching at anytime by calling the “uncached” method, if needed.

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