Topic: [Help] Wrong path for Expire_fragment

Hello, in my application i'm caching a fragment like this:

[code = ruby]
cache(:fragment => "comment_list")
#results: Cached fragment hit:  views/

# and i am expiring it doing like this
expire_fragment(:fragment => "comment_list")
#results: Expired fragment: views/ (0.1ms)


But as you can see, my exprired cache path it's different from my cache file! And so the cache dont get expired!

FROM /45?fragment=comment_list
TO   /45/comments?fragment=comment_list

if instead i cache and expire without using :fragment, everything work fine. It's wrong to use :fragment?

someone can help me and tell me why i get this?

Last edited by eXil3 (2009-01-06 15:20:24)