Browse files

Merge pull request #54 from shepmaster/patch-3

Fix method name expires_cache -> expire_fragment
  • Loading branch information...
2 parents 4ae4959 + 4589322 commit 7c2110c2db079a02cf3783aaff5467a98a1a51a2 @jcasimir jcasimir committed Feb 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 source/topics/performance/caching.markdown
View
2 source/topics/performance/caching.markdown
@@ -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

0 comments on commit 7c2110c

Please sign in to comment.