Skip to content

Commit 639ad65

Browse files
committed
Fix nill typo in the Upgrade Guide for Rails 7.
This was supposed to be `nil`, presumably, and will currently error if copy-pasted.
1 parent 38be3a9 commit 639ad65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/upgrading_ruby_on_rails.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ You can invalidate the cache either by touching the product, or changing the cac
346346
```erb
347347
<% @products.each do |product| %>
348348
<% cache ["v2", product] do %>
349-
<%= image_tag product.cover_photo.variant(resize_to_limit: [200, nill]) %>
349+
<%= image_tag product.cover_photo.variant(resize_to_limit: [200, nil]) %>
350350
<% end %>
351351
<% end %>
352352
```

0 commit comments

Comments
 (0)