diff options
author | Tyler Hunt <tyler@tylerhunt.com> | 2018-05-03 10:58:15 -0400 |
---|---|---|
committer | Tyler Hunt <tyler@tylerhunt.com> | 2018-05-03 11:20:51 -0400 |
commit | 3fbd60a00895c06a31628dbfda1dad5384fb4d8f (patch) | |
tree | 2d57378729ada13f36fa0f5ec42850d6e3460326 /guides/source | |
parent | 8ae38dab5251613a7e7f5af5289e524abca20efd (diff) | |
download | rails-3fbd60a00895c06a31628dbfda1dad5384fb4d8f.tar.gz rails-3fbd60a00895c06a31628dbfda1dad5384fb4d8f.tar.bz2 rails-3fbd60a00895c06a31628dbfda1dad5384fb4d8f.zip |
Minor edits to the Active Storage guide
Fix spelling, grammar, and formatting.
[ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/active_storage_overview.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/guides/source/active_storage_overview.md b/guides/source/active_storage_overview.md index 54266c494a..09af899074 100644 --- a/guides/source/active_storage_overview.md +++ b/guides/source/active_storage_overview.md @@ -416,14 +416,14 @@ end ``` If the external program is run as a separate program, you might also want to -chmod the file and it's directory, as it is unaccessible by other users because -Tempfile will set the permissions to 0600. +`chmod` the file and it's directory, as it is inaccessible by other users +because `Tempfile` will set the permissions to `0600`. Transforming Images ------------------- -To create variation of the image, call `variant` on the Blob. You can pass +To create a variation of the image, call `variant` on the `Blob`. You can pass any transformation to the method supported by the processor. The default processor is [MiniMagick](https://github.com/minimagick/minimagick), but you can also use [Vips](http://www.rubydoc.info/gems/ruby-vips/Vips/Image). @@ -434,8 +434,8 @@ To enable variants, add the `image_processing` gem to your `Gemfile`: gem 'image_processing', '~> 1.2' ``` -When the browser hits the variant URL, Active Storage will lazy transform the -original blob into the format you specified and redirect to its new service +When the browser hits the variant URL, Active Storage will lazily transform the +original blob into the specified format and redirect to its new service location. ```erb |