I am using a sweeper to clear a fragment cache and everything is working fine in development, but I am receiving an error in our specs this is the ...
I am using a sweeper to clear a fragment cache and everything is working fine in development, but I am receiving an error in our specs this is the ...
Having a controller handling rendering of large XML feeds Bellow is the corresponding sweeper's sublass: Above Spree::FeedSweeper is called when ...
I have a form where an admin can create a new user, in this form there is a remote: true. When the user is successfully created the section on the pag ...
I've got the following method in a sweeper: The problem is with calling fragment_cache_key. It returns the correct key in one code path, but it ret ...
I have a controller where: and sweeper: and am getting: The problem I'm guessing is becuase the sweeper is called after_save, when on a new r ...
I'm attempting to use a sweeper to clear the home page index action when a new article is published. The home page cache is working fine in developme ...
All, I am trying to add caching to my Rails 3.1 apps. The sweeper lives in default namespace, and I have controller that lives in the Admin namespace ...
I've taken the quote below, which I can see some sense in: "Cached pages and fragments usually depend on model states. The cache doesn't care about w ...
I have on my controller: I've tried to create a directory called /sweepers inside app and it didn't work, I've tried inside models to create a /cac ...
I've got problem with simple caching (ruby 1.9.2, rails 3.1.3, development environment): development.rb: sweeper: controllers: Pages are cac ...
I have an application that uses caches_page for certain controllers/actions. To expire the cache, I use a sweeper. All in all, it's a standard solutio ...
As you can see from code below. I am caching the show action. I also have the following method in the show action View.create_for(@song). I would lik ...
So I have some code here I need to modify regarding a Rails Sweeper: The problem is I've noticed that it dosen't seem possible to access the cookie ...
I'm working on a page that displays a restaurant menu. I have 2 models: FoodMenu has_many :products and Product belongs_to :food_menu. I don't have co ...
I have the following relationships modeled in a Rails3 application: The "SkillsUser" model represents the many-to-many association between users an ...
We have the following sweeper in a rails application: We'd like to extract the after_update, after_delete, and after_create callbacks to a module c ...
I'm having some issues with Sweepers and Caching in Rails. The .html file in /cache is being generated on first view. The Sweeper action is being ca ...
I'm trying to use sweepers to handle my page refreshes. For refreshing index actions, etc everything works fine...but I can't seem to sweepers to inte ...
I have action caching working on my Sites index, and set up a SiteSweeper that works fine: But I also want to expire /admin/sites whenever any Publ ...
I've got a sweeper that's supposed to expire a few action caches. Even though the debugger stops immediately before the call to expire_action, it's no ...