ruby version : 1.8.6 rails version : 2.0.2 os : ubuntu 7.10 class StoreController < ApplicationController caches_page :index def index do something end def expire expire_page :controller=>''store'', :action=>''index'' end end when i visit: http://localhost:3000/store, a "RAILS_ROOT/public/ store.html" will appear as i visit: http://localhost:3000/store/index, a "RAILS_ROOT/public/ store/index.html" will appear the expire method in my class will delete the file "RAILS_ROOT/public/ store.html" the problem is: {:controller=>''store'',:action=>''index'' }--->url_for method----->''/store'' ,so expire_page will delete the file store.html. if i don''t use index action, it will not be a problem, but, anyone have better idea? thanks for the reply. --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---