Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix caching guide (plural model name) [ci skip]

  • Loading branch information...
commit 4c711f133506a0536fb244f1bf569717ad9dd796 1 parent e463351
@francocatena francocatena authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 guides/source/caching_with_rails.textile
View
4 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
Please sign in to comment.
Something went wrong with that request. Please try again.