diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2019-03-09 22:54:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-09 22:54:21 +0100 |
commit | 0fc13977841d0fb5aa78d5bd86fa9a540477009f (patch) | |
tree | bbd322bc9be143e5426682442aee1dc7d61c8c32 /activestorage | |
parent | 6c0afaca98758e87a05752e1f4f8f2029d6d9664 (diff) | |
parent | e3ef12b310abdbc1688c3dc4c9b7c48209ce6da2 (diff) | |
download | rails-0fc13977841d0fb5aa78d5bd86fa9a540477009f.tar.gz rails-0fc13977841d0fb5aa78d5bd86fa9a540477009f.tar.bz2 rails-0fc13977841d0fb5aa78d5bd86fa9a540477009f.zip |
Merge pull request #35559 from ashishprajapati/ashishprajapati/important_textual_improvements
Added missing guide links in documentation and minor wording fix
Diffstat (limited to 'activestorage')
-rw-r--r-- | activestorage/README.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activestorage/README.md b/activestorage/README.md index e5f64c97af..7a437d4014 100644 --- a/activestorage/README.md +++ b/activestorage/README.md @@ -6,6 +6,8 @@ Files can be uploaded from the server to the cloud or directly from the client t Image files can furthermore be transformed using on-demand variants for quality, aspect ratio, size, or any other [MiniMagick](https://github.com/minimagick/minimagick) or [Vips](https://www.rubydoc.info/gems/ruby-vips/Vips/Image) supported transformation. +You can read more about Active Storage in the [Active Storage Overview](https://edgeguides.rubyonrails.org/active_storage_overview.html) guide. + ## Compared to other storage solutions A key difference to how Active Storage works compared to other attachment solutions in Rails is through the use of built-in [Blob](https://github.com/rails/rails/blob/master/activestorage/app/models/active_storage/blob.rb) and [Attachment](https://github.com/rails/rails/blob/master/activestorage/app/models/active_storage/attachment.rb) models (backed by Active Record). This means existing application models do not need to be modified with additional columns to associate with files. Active Storage uses polymorphic associations via the `Attachment` join model, which then connects to the actual `Blob`. |