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 this partial. It can be a pretty big speed boost instead of fetching from Memcached sequentially. One guy saw a 93% improvement on an action of his that was simply rendering out 25 items.
Some folks have been asking me to post to this list to see if this is something that I should write a pull request for against Rails to become a standard feature?
-Nate