RubyFlow The Ruby and Rails community linklog

How to add I18n.locale as a part of caching key automatically

with https://github.com/igorkasyanchuk/cache_with_locale you can use fragment caching automatically with I18n.locale. No more code like “cache [I18n.locale, user]”. DRY your code.

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