diff options
author | Franco Catena <francocatena@gmail.com> | 2012-08-10 21:51:07 -0300 |
---|---|---|
committer | Franco Catena <francocatena@gmail.com> | 2012-08-10 21:51:07 -0300 |
commit | 4c711f133506a0536fb244f1bf569717ad9dd796 (patch) | |
tree | fe446799607e3062f7b6644a84a3be8ad67df4ef /guides | |
parent | e4633519696f539bffacf6985caa3969ad717c85 (diff) | |
download | rails-4c711f133506a0536fb244f1bf569717ad9dd796.tar.gz rails-4c711f133506a0536fb244f1bf569717ad9dd796.tar.bz2 rails-4c711f133506a0536fb244f1bf569717ad9dd796.zip |
Fix caching guide (plural model name) [ci skip]
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/caching_with_rails.textile | 4 |
1 files changed, 2 insertions, 2 deletions
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 </ruby> @@ -52,7 +52,7 @@ class ProductsController < ActionController caches_page :index def index - @products = Products.all + @products = Product.all end def create |