aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorJanko Marohnić <janko.marohnic@gmail.com>2018-04-23 12:35:43 +0200
committerJanko Marohnić <janko.marohnic@gmail.com>2018-04-23 12:35:43 +0200
commitdc97f6c3fd2769ba29ea06a6015244be18a19893 (patch)
tree8b87e96a31390a0c59d8e4b739631d3d664cdcc3 /guides/source
parente40091648b9fa3c75511422c5dc8d83bfe99421e (diff)
downloadrails-dc97f6c3fd2769ba29ea06a6015244be18a19893.tar.gz
rails-dc97f6c3fd2769ba29ea06a6015244be18a19893.tar.bz2
rails-dc97f6c3fd2769ba29ea06a6015244be18a19893.zip
Replace :resize_to_fit with :resize in the guide
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/active_storage_overview.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_storage_overview.md b/guides/source/active_storage_overview.md
index c3fb5356d4..3f55e82e24 100644
--- a/guides/source/active_storage_overview.md
+++ b/guides/source/active_storage_overview.md
@@ -353,7 +353,7 @@ original blob into the format you specified and redirect to its new service
location.
```erb
-<%= image_tag user.avatar.variant(resize_to_fit: [100, 100]) %>
+<%= image_tag user.avatar.variant(resize: "100x100") %>
```
To switch to the Vips processor, you would add the following to