Ar Chron wrote:
> Justus Ohlhaver wrote:
>> Ok I'll try to keep the question a bit shorter in the hope of increasing
>> the chances that somebody understands what my problem is:
>>
>>
>> How can I expire the fragement cache from a daemon located in my lib
>> folder?
>
> Have you tried Rails.cache.delete('views/groups/index.html')
>
> (I think that's the default path creation, given that you set the
> config.cache_store properly in environment.rb)
Thanks, Ar. But unfortunately this doesn't work either.
How would I set the config.cache_store properly? I have just used the
default setup. (except for setting
config.action_controller.perform_caching = true)
BTW. I would be fine with deleting the entire cache - no need for any
specifications. Shouldn't that make it very easy??
Thanks again,
Justus
--
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
-~----------~----~----~----~------~----~------~--~---