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.
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