• Vladimir Shushlin's avatar
    Properly file_store default for pages deployments · 1dd276c6
    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
pages_deployments.rb 482 Bytes