diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2018-05-17 18:19:18 -0400 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2018-05-17 18:19:18 -0400 |
commit | d7edb8ecd0552635ea9631666abe910199ccf7c1 (patch) | |
tree | bbb6fa60573a867b9960e749088e58046c9ae56c /guides | |
parent | 6c05728a507fe828647c2a0f62cf8ede1534a642 (diff) | |
download | rails-d7edb8ecd0552635ea9631666abe910199ccf7c1.tar.gz rails-d7edb8ecd0552635ea9631666abe910199ccf7c1.tar.bz2 rails-d7edb8ecd0552635ea9631666abe910199ccf7c1.zip |
Fix markdown [ci skip]
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/active_storage_overview.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_storage_overview.md b/guides/source/active_storage_overview.md index ffd81f855e..91ad089d40 100644 --- a/guides/source/active_storage_overview.md +++ b/guides/source/active_storage_overview.md @@ -392,7 +392,7 @@ You might want to download a blob to a file on disk so an external program (e.g. a virus scanner or media transcoder) can operate on it. Use `ActiveStorage::Blob#open` to download a blob to a tempfile on disk: -````ruby +```ruby message.video.open do |file| system '/path/to/virus/scanner', file.path # ... |