cache_fu: make action caching stuff work with edge rails
-
Rob Sanheim
the patch
-
Chris Wanstrath
- State changed from new to open
I would really hate to break cache_fu for the plebians not running on edge. Maybe it's as simple as adding an ActsAsCached.on_edge? method and a) hiding the tests behind that b) defining stuff in the fragment_cache.rb conditionally? It could simply check if a controller responds to action_cache_path, which I think is a sure-fire sign of edgeness.
What do you think? I bring it up because I usually run cache_fu tests against both edge and gems, and with this patch my gems version falls flat on its face.
-
Rob Sanheim
Yeah, something like testing for edge should be possible. I'll take a look at making the patch more robust soon...
-
Chris Wanstrath
- State changed from open to hold
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.