提交 70d0e53d 编写于 作者: Y yuuji.yaginuma

Fix repository URL [ci skip]

changed `rails/activestorage` to `rails/rails`.
上级 55284066
......@@ -9,7 +9,7 @@ MiniMagick supported transformation.
## 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/activestorage/blob/master/app/models/active_storage/blob.rb) and [Attachment](https://github.com/rails/activestorage/blob/master/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 join model of `Attachment`, which then connects to the actual `Blob`.
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 join model of `Attachment`, which then connects to the actual `Blob`.
These `Blob` models are intended to be immutable in spirit. One file, one blob. You can associate the same blob with multiple application models as well. And if you want to do transformations of a given `Blob`, the idea is that you'll simply create a new one, rather than attempt to mutate the existing (though of course you can delete that later if you don't need it).
......
......@@ -6,13 +6,13 @@
"files": [
"app/assets/javascripts/*.js"
],
"homepage": "https://github.com/rails/activestorage",
"homepage": "http://rubyonrails.org/",
"repository": {
"type": "git",
"url": "git+https://github.com/rails/activestorage.git"
"url": "git+https://github.com/rails/rails.git"
},
"bugs": {
"url": "https://github.com/rails/activestorage/issues"
"url": "https://github.com/rails/rails/issues"
},
"author": "Javan Makhmali <javan@javan.us>",
"license": "MIT",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册