aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-08-05 08:32:15 +0900
committerGitHub <noreply@github.com>2017-08-05 08:32:15 +0900
commit95ad242c8066e71c403d53ea634f347e357473b1 (patch)
treefc112a338b4f6d1847ecb227219df2be83934d6a
parent552840660389e39f3ba8e47dcf35ab817c01cb48 (diff)
parent70d0e53db7e761eff321daa426a36c7cd8204984 (diff)
downloadrails-95ad242c8066e71c403d53ea634f347e357473b1.tar.gz
rails-95ad242c8066e71c403d53ea634f347e357473b1.tar.bz2
rails-95ad242c8066e71c403d53ea634f347e357473b1.zip
Merge pull request #30078 from y-yagi/fix_respository
Fix repository URL [ci skip]
-rw-r--r--activestorage/README.md2
-rw-r--r--activestorage/package.json6
2 files changed, 4 insertions, 4 deletions
diff --git a/activestorage/README.md b/activestorage/README.md
index 22e77e2837..06594a3ecb 100644
--- a/activestorage/README.md
+++ b/activestorage/README.md
@@ -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).
diff --git a/activestorage/package.json b/activestorage/package.json
index 299898017c..56d307f9d6 100644
--- a/activestorage/package.json
+++ b/activestorage/package.json
@@ -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",