Hello, I have a method called "check_permission" that is set to run as a before_fitler and which checks if a user has the authorization to view a page. This page is displayed through the method "show" which is cached through the tag "caches_action :show" My problem is that once a user with authorization to a page accesses it, then afterwards all users (with or without authorization) can access it. It seems that once the page is displayed once, then the before_filter''s result is cached and thus authorization is never checked for again. If I remove the tag "caches_action :show" then all works as it should, but this is not a satisfactory solution... I''m pulling my hairs out over this :( -- 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 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 -~----------~----~----~----~------~----~------~--~---