aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage
diff options
context:
space:
mode:
authorGeorge Claghorn <george@basecamp.com>2018-01-10 12:15:30 -0500
committerGeorge Claghorn <george@basecamp.com>2018-01-10 12:15:30 -0500
commit3320e80b93f94d216fe03bc9183c867e421cc4d5 (patch)
tree4536f72ee5dfb22fd1978c1b8e2aba276b2cdbc2 /activestorage
parentd4cdd4a05f9874127f5052eb7909c7d921ad046e (diff)
downloadrails-3320e80b93f94d216fe03bc9183c867e421cc4d5.tar.gz
rails-3320e80b93f94d216fe03bc9183c867e421cc4d5.tar.bz2
rails-3320e80b93f94d216fe03bc9183c867e421cc4d5.zip
Correct comment [ci skip]
Diffstat (limited to 'activestorage')
-rw-r--r--activestorage/app/models/active_storage/blob/representable.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activestorage/app/models/active_storage/blob/representable.rb b/activestorage/app/models/active_storage/blob/representable.rb
index 86f39fdf0c..fb6a55fa73 100644
--- a/activestorage/app/models/active_storage/blob/representable.rb
+++ b/activestorage/app/models/active_storage/blob/representable.rb
@@ -22,7 +22,7 @@ module ActiveStorage::Blob::Representable
# can then produce on-demand.
#
# Raises ActiveStorage::Blob::InvariableError if ImageMagick cannot transform the blob. To determine whether a blob is
- # variable, call ActiveStorage::Blob#previewable?.
+ # variable, call ActiveStorage::Blob#variable?.
def variant(transformations)
if variable?
ActiveStorage::Variant.new(self, ActiveStorage::Variation.wrap(transformations))