Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

This project is archived and is in readonly mode.

expire_action silently failing with :as routes

#1718

I am having problems with expiring action caches in Rails 2.2. I have a configured the route for a controller named Pages to appear as "pagine" using the :as option. I am using the file based cache and the caching works although the created files match the controller name (e.g. /pages/1). However when I try and expire the action it looks for a file that matches the name I gave rather than the controller name.

So rather than trying to delete /pages/1 it tries to delete /pagine/1 and so the action is never expired.

Reported by kumo (at kumo) · January 9th, 2009 @ 09:40 AM

State: stale
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. Pratik
    Pratik
    • State changed from new to stale

    Is this still a problem ? Could you please submit a failing test case ?

    http://guides.rails.info/contrib... might come handy :)

    Thanks !

    March 12th, 2009 @ 03:42 PM