Specifically looking at action_cache in Rails.3.2 stable right now.
It currently will evaluate procs given to the layout or cache_path as can be seen here.
I’m working on a library where I’d like to tag my caches so that I can expire sets of keys easily. It would appear that something such as
caches_action :show, tag: Proc.new { “post_#{params[:id]}” }
would evaluate to the tag to post_1, post_2 etc but it doesn’t. It wouldn’t take much to modify the filter method linked above to evaluate all procs passed in as options. I’m going to make a pull request unless there are any objections.