From 4c711f133506a0536fb244f1bf569717ad9dd796 Mon Sep 17 00:00:00 2001 From: Franco Catena Date: Fri, 10 Aug 2012 21:51:07 -0300 Subject: Fix caching guide (plural model name) [ci skip] --- guides/source/caching_with_rails.textile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'guides') diff --git a/guides/source/caching_with_rails.textile b/guides/source/caching_with_rails.textile index 3ee36ae971..815b2ef9c2 100644 --- a/guides/source/caching_with_rails.textile +++ b/guides/source/caching_with_rails.textile @@ -33,7 +33,7 @@ class ProductsController < ActionController caches_page :index def index - @products = Products.all + @products = Product.all end end @@ -52,7 +52,7 @@ class ProductsController < ActionController caches_page :index def index - @products = Products.all + @products = Product.all end def create -- cgit v1.2.3