diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2012-08-16 00:07:17 +0530 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-08-16 00:07:17 +0530 |
commit | 176f0888d85da38e3ae95f74b419d22e347d7a81 (patch) | |
tree | 0a46e2a790cf34785b7e8048e21fb598010e23e8 /guides/source/caching_with_rails.textile | |
parent | ebb4a3d5becd535074502a4bf1b61a5b18e30917 (diff) | |
parent | 62499bcb9d8aa65636f5cd3ace2a818ffd4e2f8a (diff) | |
download | rails-176f0888d85da38e3ae95f74b419d22e347d7a81.tar.gz rails-176f0888d85da38e3ae95f74b419d22e347d7a81.tar.bz2 rails-176f0888d85da38e3ae95f74b419d22e347d7a81.zip |
Merge branch 'master' of github.com:lifo/docrails
Diffstat (limited to 'guides/source/caching_with_rails.textile')
-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 |