diff options
author | Yoshiyuki Hirano <yhirano@me.com> | 2017-08-30 02:40:03 +0900 |
---|---|---|
committer | Yoshiyuki Hirano <yhirano@me.com> | 2017-08-30 02:40:03 +0900 |
commit | e38900b8453e8709943850b4651e1a1929c40967 (patch) | |
tree | 6565adf0db5b1eaedcf2a06728d096d067a50fae /activestorage/lib/active_storage/attached | |
parent | 9a66a22102db76896f400939165ec92280e092e7 (diff) | |
download | rails-e38900b8453e8709943850b4651e1a1929c40967.tar.gz rails-e38900b8453e8709943850b4651e1a1929c40967.tar.bz2 rails-e38900b8453e8709943850b4651e1a1929c40967.zip |
Update Active Storage docs [ci skip]
Diffstat (limited to 'activestorage/lib/active_storage/attached')
-rw-r--r-- | activestorage/lib/active_storage/attached/one.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activestorage/lib/active_storage/attached/one.rb b/activestorage/lib/active_storage/attached/one.rb index 2e5831348e..92a00c20a7 100644 --- a/activestorage/lib/active_storage/attached/one.rb +++ b/activestorage/lib/active_storage/attached/one.rb @@ -25,7 +25,7 @@ module ActiveStorage ActiveStorage::Attachment.create!(record: record, name: name, blob: create_blob_from(attachable)) end - # Returns true if an attachment has been made. + # Returns +true+ if an attachment has been made. # # class User < ActiveRecord::Base # has_one_attached :avatar |