提交 a966bd81 编写于 作者: R Rafael França 提交者: Rafael Mendonça França

Merge pull request #31968 from wojtodzio/fix-activestorage-blob-includes

ActiveStorage: use full class names when including concerns to avoid collisions
上级 22640620
......@@ -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"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册