aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/app/models/active_storage/blob.rb
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2017-08-13 21:39:38 +0930
committerGitHub <noreply@github.com>2017-08-13 21:39:38 +0930
commit4ec5b7610dc040c616b6d058cc23c5af887ec221 (patch)
tree4e6dafd8144b0762e5d196781e26c2b940ba9299 /activestorage/app/models/active_storage/blob.rb
parentc8c20290419ad2f4b60df0297ace22b8f7f40f2b (diff)
parentd02844f2499be488d262bc274530ec44e242fd70 (diff)
downloadrails-4ec5b7610dc040c616b6d058cc23c5af887ec221.tar.gz
rails-4ec5b7610dc040c616b6d058cc23c5af887ec221.tar.bz2
rails-4ec5b7610dc040c616b6d058cc23c5af887ec221.zip
Merge pull request #30211 from koic/frozen_activestorage
Use frozen string literal in Active Storage
Diffstat (limited to 'activestorage/app/models/active_storage/blob.rb')
-rw-r--r--activestorage/app/models/active_storage/blob.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activestorage/app/models/active_storage/blob.rb b/activestorage/app/models/active_storage/blob.rb
index 113a7f774d..dc91a9265f 100644
--- a/activestorage/app/models/active_storage/blob.rb
+++ b/activestorage/app/models/active_storage/blob.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
# 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:
#