aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/app/models
diff options
context:
space:
mode:
authorGeorge Claghorn <george@basecamp.com>2018-01-10 12:36:11 -0500
committerGeorge Claghorn <george@basecamp.com>2018-01-10 12:37:07 -0500
commit96f59306101a6ee252df2a9636ef2569d26924f7 (patch)
treec861ebecd644d687d49a1193e59371e090519f82 /activestorage/app/models
parent7e78d2cc94b9fa32e0cc418af0a096f48bdb190c (diff)
downloadrails-96f59306101a6ee252df2a9636ef2569d26924f7.tar.gz
rails-96f59306101a6ee252df2a9636ef2569d26924f7.tar.bz2
rails-96f59306101a6ee252df2a9636ef2569d26924f7.zip
Update error names in docs [ci skip]
Diffstat (limited to 'activestorage/app/models')
-rw-r--r--activestorage/app/models/active_storage/blob/representable.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/activestorage/app/models/active_storage/blob/representable.rb b/activestorage/app/models/active_storage/blob/representable.rb
index aca97b1245..0ad2e2fd77 100644
--- a/activestorage/app/models/active_storage/blob/representable.rb
+++ b/activestorage/app/models/active_storage/blob/representable.rb
@@ -23,7 +23,7 @@ module ActiveStorage::Blob::Representable
# This will create a URL for that specific blob with that specific variant, which the ActiveStorage::VariantsController
# can then produce on-demand.
#
- # Raises ActiveStorage::Blob::InvariableError if ImageMagick cannot transform the blob. To determine whether a blob is
+ # Raises ActiveStorage::InvariableError if ImageMagick cannot transform the blob. To determine whether a blob is
# variable, call ActiveStorage::Blob#variable?.
def variant(transformations)
if variable?
@@ -51,7 +51,7 @@ module ActiveStorage::Blob::Representable
#
# <%= image_tag video.preview(resize: "100x100") %>
#
- # This method raises ActiveStorage::Blob::UnpreviewableError if no previewer accepts the receiving blob. To determine
+ # This method raises ActiveStorage::UnpreviewableError if no previewer accepts the receiving blob. To determine
# whether a blob is accepted by any previewer, call ActiveStorage::Blob#previewable?.
def preview(transformations)
if previewable?
@@ -71,7 +71,7 @@ module ActiveStorage::Blob::Representable
#
# blob.representation(resize: "100x100").processed.service_url
#
- # Raises ActiveStorage::Blob::UnrepresentableError if the receiving blob is neither variable nor previewable. Call
+ # Raises ActiveStorage::UnrepresentableError if the receiving blob is neither variable nor previewable. Call
# ActiveStorage::Blob#representable? to determine whether a blob is representable.
#
# See ActiveStorage::Blob#preview and ActiveStorage::Blob#variant for more information.