跳至內容 跳至搜尋

ActiveStorage::Blob#variant 在一個不可變的 blob 上被呼叫時產生。使用 ActiveStorage::Blob#variable? 來判斷一個 blob 是否可變。