Skip to content

expiring an action cache #53

Open
Open
@mzaragoza

Description

@mzaragoza

I added this to my project and its working fine but I am having a problem expiring the cache

my controller looks like

class PostsController < ApplicationController
  caches_action :show

   def show 
     @post = Post.find(params[:id])
   end
end

it works fine when I visit different post but when a post gets updated it does not reflect that

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions