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!

little update to a cache utility gem

https://github.com/igorkasyanchuk/cache_with_locale received a new contribution, now can cache collection.

PS: gem is doing the following in your views

Instead of:

```

cache [@user, I18n.locale] do

render @user

end

```

Just write:

```

cache @user do

render @user

end

```

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