Displaying 1 result from an estimated 1 matches for "multi_fetch_frag".
2012 Dec 14
1
Re: Digest for rubyonrails-core@googlegroups.com - 4 Messages in 3 Topics
...com/rafaelfranca
> •
> •
> •
> •
> Should render collection: @items have a cache option so that read_multi can be utilized?
> • nate <nate@inventric.com> Dec 13 08:21AM -0800
> •
> • I released a gem yesterday
> •
> • https://github.com/n8/multi_fetch_fragments
> •
> • that adds this syntax on rendering a collection of partials:
> •
> • <%= render partial: ''item'', collection: @items, cache: true %>
> •
> •
> • And then the gem uses Rails read_multi to fetch any cached fragments of
> •...