Empty all cache?

Hi,

I just made a mistake to cache the index action and now I cannot figure
out how to delete it?

I have tried the following.

  • restarted server
  • set perform_caching to false
  • changed port
  • changed cache store to different ports and file path.
  • tried to expire_page :action => :index
  • tried to expire_action :action => :index
  • tried to restart my computer
  • tried different enviroments

The cache is still hanging on the root index page.

I need help here to destroy or delete all cache in my app?

Thanks for help.

and now I tried.

  • rake tmp:cache:clear

did not work either.

then I tried.

Rails.cache
=> #<ActiveSupport::Cache::MemoryStore:0x177b11c @data={}>

Rails.cache.clear
=> {}

Rails.cache
=> #<ActiveSupport::Cache::MemoryStore:0x177b11c @data={}>

This did not get me anywhere.

Weird …

Now it’s gone when I logged out of the current user. :S:S

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs