Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Expire partial template? #67

@anitviec

Description

@anitviec

I have two templates as follow:

app/views/projects/show.html.erb

<% cache project do %>
All documents
<%= render project.documents %>
<% end %>

app/views/documents/_document.html.erb

<% cache document do %>
My document: <%= document.name %>
<%= render document.comments %>

<% end %>

When I change html in _document.html.erb, I refresh the page, but it does not update.
What should I do so that the view auto update when I change partial template?

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