aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/app/models/active_storage/blob.rb
diff options
context:
space:
mode:
authorYoshiyuki Hirano <yhirano@me.com>2017-08-30 02:40:03 +0900
committerYoshiyuki Hirano <yhirano@me.com>2017-08-30 02:40:03 +0900
commite38900b8453e8709943850b4651e1a1929c40967 (patch)
tree6565adf0db5b1eaedcf2a06728d096d067a50fae /activestorage/app/models/active_storage/blob.rb
parent9a66a22102db76896f400939165ec92280e092e7 (diff)
downloadrails-e38900b8453e8709943850b4651e1a1929c40967.tar.gz
rails-e38900b8453e8709943850b4651e1a1929c40967.tar.bz2
rails-e38900b8453e8709943850b4651e1a1929c40967.zip
Update Active Storage docs [ci skip]
Diffstat (limited to 'activestorage/app/models/active_storage/blob.rb')
-rw-r--r--activestorage/app/models/active_storage/blob.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activestorage/app/models/active_storage/blob.rb b/activestorage/app/models/active_storage/blob.rb
index 664a53a778..e6cf08ce83 100644
--- a/activestorage/app/models/active_storage/blob.rb
+++ b/activestorage/app/models/active_storage/blob.rb
@@ -3,8 +3,8 @@
# A blob is a record that contains the metadata about a file and a key for where that file resides on the service.
# Blobs can be created in two ways:
#
-# 1) Subsequent to the file being uploaded server-side to the service via <tt>create_after_upload!</tt>.
-# 2) Ahead of the file being directly uploaded client-side to the service via <tt>create_before_direct_upload!</tt>.
+# 1. Subsequent to the file being uploaded server-side to the service via <tt>create_after_upload!</tt>.
+# 2. Ahead of the file being directly uploaded client-side to the service via <tt>create_before_direct_upload!</tt>.
#
# The first option doesn't require any client-side JavaScript integration, and can be used by any other back-end
# service that deals with files. The second option is faster, since you're not using your own server as a staging