diff options
author | Wojtek Wrona <wojtodzio@gmail.com> | 2018-02-12 16:36:34 +0100 |
---|---|---|
committer | Wojtek Wrona <wojtodzio@gmail.com> | 2018-02-12 16:37:54 +0100 |
commit | 40fabc3cc1f4a00cb528ea863eb4f2f3e546d383 (patch) | |
tree | 962a073f65b6d23370ee63c084f6cdb692d80fab /activestorage/app/models | |
parent | 81c7d4138a3d45458e92d97aba8eaef35906f9a9 (diff) | |
download | rails-40fabc3cc1f4a00cb528ea863eb4f2f3e546d383.tar.gz rails-40fabc3cc1f4a00cb528ea863eb4f2f3e546d383.tar.bz2 rails-40fabc3cc1f4a00cb528ea863eb4f2f3e546d383.zip |
Use full class names when including concerns to avoid collisions
Diffstat (limited to 'activestorage/app/models')
-rw-r--r-- | activestorage/app/models/active_storage/blob.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/activestorage/app/models/active_storage/blob.rb b/activestorage/app/models/active_storage/blob.rb index a1e69e2264..bca9f4c590 100644 --- a/activestorage/app/models/active_storage/blob.rb +++ b/activestorage/app/models/active_storage/blob.rb @@ -14,7 +14,9 @@ # update a blob's metadata on a subsequent pass, but you should not update the key or change the uploaded file. # If you need to create a derivative or otherwise change the blob, simply create a new blob and purge the old one. class ActiveStorage::Blob < ActiveRecord::Base - include Analyzable, Identifiable, Representable + include ActiveStorage::Blob::Analyzable + include ActiveStorage::Blob::Identifiable + include ActiveStorage::Blob::Representable self.table_name = "active_storage_blobs" |