1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #43514 from connorshea/fix-typo-in-upgrade-guide

This commit is contained in:
Vipul A M 2021-10-23 23:16:25 +05:30 committed by GitHub
commit 933284aaba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -346,7 +346,7 @@ You can invalidate the cache either by touching the product, or changing the cac
```erb
<% @products.each do |product| %>
<% cache ["v2", product] do %>
<%= image_tag product.cover_photo.variant(resize_to_limit: [200, nill]) %>
<%= image_tag product.cover_photo.variant(resize_to_limit: [200, nil]) %>
<% end %>
<% end %>
```