I'm using the timed fragment caching plugin (
http://github.com/georgepalmer/timed_fragment_cache/tree/master  )
with memcached and i have no problems.

Have you configured your caching storage as memcached?

-
Maurício Linhares
http://alinhavado.wordpress.com/ (pt-br) | http://blog.codevader.com/ (en)



On Wed, Feb 18, 2009 at 11:33 AM, Marie Arago
<[email protected]> wrote:
>
> Hello all,
>
> We know that memcached or memcached-client doesn't support regex... But
> It seems it doesn't support expire_fragment either :/
>
> I'm trying to use expire_fragment with memcached as following :
> expire_fragment(:controller => 'home', :action => :list_posts)
>
> But apparently it's not supported by memcached :
>
> RuntimeError (Not supported by Memcache):
>    
> /usr/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/cache/mem_cache_store.rb:79:in
> `delete_matched'
>    
> /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_controller/caching/fragments.rb:128:in
> `expire_fragment'
>    
> /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_controller/benchmarking.rb:26:in
> `benchmark'
>    
> /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_controller/benchmarking.rb:37:in
> `silence'
>    
> /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.1/lib/action_controller/benchmarking.rb:26:in
> `benchmark'
>
>
>
> Would anyone know how to use expire_fragment with memcached ?
>
> Any help will be very appreciated !
>
> Thank you !
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to