Typo here:
It should be selected (inserted) the description, not name.
<%# app/views/products/show.html.erb%>
<% cache @product do %>
<h1><%= @product.name %></h1>
<%= @product.description %>
<% end %>
Typo here:
It should be selected (inserted) the description, not name.
<%# app/views/products/show.html.erb%>
<% cache @product do %>
<h1><%= @product.name %></h1>
<%= @product.description %>
<% end %>
This documentation you mention is easy to update because itβs included in the Github repo! So changes can be made by creating a pull request.
The specific error that you mention has already been fixed by this commit from back in January, which changes the highlight line in that code block from line 3 to line 4. Eventually it will make its way onto the live Rails Guides site.
Hi, Lorin! Thanks for the explanation.