Properly file_store default for pages deployments
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
Showing
Please register or sign in to comment