Is your plugin hosted on GitHub? Make sure to press the "fetch" button next to the repository field to fetch your plugin's info from GitHub rather than typing it all in.
Repository
Name
Home Page
Short description Makes rails fragment cache play nice with robot coop memcache-client plugin and adds an :expire=>time syntax to the cache fragment view helper
Description == About memcache_fragments is a very simple plugin (10 lines of code!) that 1. makes rails fragment caching play nice with robot coop's memcache-client by wrapping its get/set methods with read/write methods that rails expects. 2. makes it easy to do time based fragment expiry using this syntax: <% cache 'my/cache/key', :expire => 10.minutes do %> ... <% end %> == Installing and using memcache_fragments You'll first need the memcache-client gem from robot coop $ sdo gem install memcache-client Now install the plugin $ script/plugin install memcache_fragments Alternatively, you can use the gem $ sudo gem install memcache_fragments # in environment.rb require 'memcache_fragments' == Setting up the fragment cache See the docs from memcache-client, but I found placing this in your environment.rb (or specific environment) to be the easiest: CACHE = MemCache.new :c_threshold => 10_000,:compression => true,:debug => false,:namespace => 'mycachespace',:readonly => false,:urlencode => false CACHE.servers = 'localhost:11211' config.action_controller.session_store = :mem_cache_store config.action_controller.fragment_cache_store = CACHE, {} ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS.merge!({ 'cache' => CACHE })
Description format RDoc MarkDown Textile
License Ruby's Rails' (MIT) GPL LGPL BSD Apache Artistic PublicDomain BSD-type Free-Trial Free-but-Restricted OpenSource Proprietary Shareware Source-available-proprietary Commercial
Category Assets Controllers Internationalization Misc. Enhancements Model Rails Engines Searching and Queries Security Statistics and Logs Testing View Extensions