From 96f59306101a6ee252df2a9636ef2569d26924f7 Mon Sep 17 00:00:00 2001 From: George Claghorn Date: Wed, 10 Jan 2018 12:36:11 -0500 Subject: Update error names in docs [ci skip] --- activestorage/app/models/active_storage/blob/representable.rb | 6 +++--- 1 file 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. -- cgit v1.2.3