small medium large xlarge

Generic-user-small
11 Nov 2016, 04:41
Eric Harman (1 post)

Everything seems fine with my implementation, but I can’t verify the caching as indicated on p. 105. If I’m reading it correctly you could make a change to the template (views/store/index.html.erb) inside the cache block and refresh your browser and you should not see that change. What I did was change the line:

    <h3><%= product.title %></h3>  

to be

    <h1><%= product.title %></h1>

and when I refreshed my browser I expected NOT to see a change in the font, but did. Did I misunderstand something in the text? (and yes, I updated the development.rb and restarted the server). I also modified the product.rb file as indicated.

You must be logged in to comment