aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage
diff options
context:
space:
mode:
authorashishprajapati <ashishprajapati0404@gmail.com>2019-03-10 03:17:01 +0530
committerashishprajapati <ashishprajapati0404@gmail.com>2019-03-10 03:17:01 +0530
commite3ef12b310abdbc1688c3dc4c9b7c48209ce6da2 (patch)
tree0a90e68bd1cc36efcc42adb5bc5d3b48824d6f7c /activestorage
parent788272231cb75d9de454c45881421db9afea74cd (diff)
downloadrails-e3ef12b310abdbc1688c3dc4c9b7c48209ce6da2.tar.gz
rails-e3ef12b310abdbc1688c3dc4c9b7c48209ce6da2.tar.bz2
rails-e3ef12b310abdbc1688c3dc4c9b7c48209ce6da2.zip
Added missing guide links in README documentation and minor wording fix [ci skip]
Diffstat (limited to 'activestorage')
-rw-r--r--activestorage/README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/activestorage/README.md b/activestorage/README.md
index 2886169ca7..79dd2fb944 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](http://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`.