From 7749e1784c1127cf532d9f41a0331ed266ebec6d Mon Sep 17 00:00:00 2001 From: Joseph Pecoraro Date: Fri, 29 May 2009 21:09:01 -0400 Subject: Grammer: 'a' => 'an' where applicable. --- railties/guides/source/caching_with_rails.textile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties/guides/source/caching_with_rails.textile') diff --git a/railties/guides/source/caching_with_rails.textile b/railties/guides/source/caching_with_rails.textile index c4af3a948f..2865bc504a 100644 --- a/railties/guides/source/caching_with_rails.textile +++ b/railties/guides/source/caching_with_rails.textile @@ -182,7 +182,7 @@ class ProductSweeper < ActionController::Caching::Sweeper end -You may notice that the actual product gets passed to the sweeper, so if we were caching the edit action for each product, we could add a expire method which specifies the page we want to expire: +You may notice that the actual product gets passed to the sweeper, so if we were caching the edit action for each product, we could add an expire method which specifies the page we want to expire: expire_action(:controller => 'products', :action => 'edit', :id => product) -- cgit v1.2.3