-
Vladimir Shushlin authored
create!(file: somefile) actually assigns file before default_valud_for works. So Pages::DeploymentUploader gets the wrong default from the model and will always save file to disk storage regardless of object storage being enabled. rails attributes api actually allows to set default properly
1dd276c6