Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #54 from shepmaster/patch-3

Fix method name expires_cache -> expire_fragment
  • Loading branch information...
commit 7c2110c2db079a02cf3783aaff5467a98a1a51a2 2 parents 4ae4959 + 4589322
Jeff Casimir jcasimir authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  source/topics/performance/caching.markdown
2  source/topics/performance/caching.markdown
View
@@ -149,7 +149,7 @@ Any subsequent page load will now read the fragment. If the user creates a new `
### Expiring / Refreshing the Cache
-To manually expire the cache in the `ArticleController` actions, the method `expires_cache` is added after the `Article` is created or destroyed:
+To manually expire the cache in the `ArticleController` actions, call the method `expire_fragment` after the `Article` is created or destroyed:
```ruby
def create
Please sign in to comment.
Something went wrong with that request. Please try again.