Forum: Ruby on Rails memcached vs regex fragment expiry

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ea53b1841bf3c1408fe6fc02561dfcc1?d=identicon&s=25 Jamie Wilson (Guest)
on 2005-12-16 02:41
(Received via mailing list)
Hi,

I thought i'd give memcached a try. Installed it all, made the change
in environment.rb and it all seems ok. I can telnet to memcached
process and manually retrieve the data being cached.

However, when I try to expire a fragment using a regex, eg:

	expire_fragment(%r{forums/recent/.*})

it throws an error:

	undefined method `delete_if' for #<MemCache:0x2289968>

I'm assuming i'm doing something stupid... Should the above work?
Have I missed out a vital step?

Oh well, back to the FileStore for now. :(

...j
This topic is locked and can not be replied to.