Fixes file upload, at least until we change our model uploader.
Fixes file upload, at least until we change our model uploader.

Hedley Robertson submited this workaround on Lighthouse. I'll stick to this until we move to paperclip/whetever that will also allow us to send files to s3

freibuis/publify,Endymion1977/typo,faraazkhan/myblog,tedfrazier/saas_typo,moneyadviceservice/publify,zsstor/Typo,totzYuta/coding-diary-of-totz,babaa/foodblog,seyedrazavi/publify,khlumzeemee/typo,matthewliu/saas_hw5,publify/publify,mozzan/publify,LOSDev/CS169-Homework-5,ndueber/cs-169_hw5,felixitous/typoo,shimolshah/typo-backup,congchen5/typo,K-and-R/publify,publify/publify,nguyenduyta/deploy-test,totzYuta/coding-diary-of-totz,leminhtuan2015/temona_staging,LOSDev/CS169-Homework-5,Juuro/publify,ashleymichal/typo,kildem/blog,seyedrazavi/publify,bsiebz/legacyhw,freibuis/publify,blairanderson/that-music-blog,randyramadhana/typo,drakontia/publify,mrfosip/typo,P5hil/typo,shrayus/hw-refactoring-legecy-code,kildem/blog,saasbook/typo,gvaquez/typo,boostsup/HW5_typo,backpackerhh/typo,alexhuang91/typo,freeranger/typo,leminhtuan2015/nginx_capuchino_rails,telekomatrix/publify,mplstar/blog,moneyadviceservice/publify,nguyenduyta/deploy-test,K-and-R/publify,agiamas/publify,sbstn-jmnz/typo,randyramadhana/typo,mozzan/publify,mplstar/blog,babaa/foodblog,tedfrazier/saas_typo,natesholland/typo,jcfausto/publify,freeranger/typo,arramos84/cs169-hw5,boostsup/HW5_typo,publify/publify,edgarpng/typo-blog,leminhtuan2015/nginx_capuchino_rails,solanolabs/publify,Endymion1977/typo,alexhuang91/typo,aren19/HW_5,nvgit/typo1,agiamas/publify,edgarpng/typo-blog,sf-wdi-25/publify_debugging_lab,shimolshah/typo-backup,mplstar/blog,leminhtuan2015/test_temona,freibuis/publify,jcfausto/publify,moneyadviceservice/publify,nvgit/typo1,lbiedinger/cs_typo,ashrob/typo,natesholland/typo,saasbook/typo,hmallett/publify,amba178/legacy_code,K-and-R/publify,gvaquez/typo,wizzro/CS169.2x-hw1-2,SF-WDI-LABS/publify_debugging_lab,sf-wdi-25/publify_debugging_lab,Chickey2/typo,arramos84/cs169-hw5,backpackerhh/typo,nguyenduyta/deploy-test,moneyadviceservice/publify,lbiedinger/cs_typo,ashleymichal/typo,blairanderson/that-music-blog,leminhtuan2015/portal_staging,kryptykfysh/saas_typo,burakicel/Burakicel.com,SF-WDI-LABS/publify_debugging_lab,whithajess/publify,faraazkhan/myblog,ACPK/typo,backpackerhh/typo,leminhtuan2015/portal_staging,bsiebz/legacyhw,ashleymichal/typo,leminhtuan2015/nginx_capuchino_rails,whithajess/publify,arramos84/cs169-hw5,ACPK/typo,solanolabs/publify,LOSDev/CS169-Homework-5,Juuro/publify,kildem/blog,jcfausto/publify,telekomatrix/publify,vincenttian/cs169hw5,LOSDev/CS169-Homework-5,leminhtuan2015/nginx_capuchino_rails,congchen5/typo,ndueber/cs-169_hw5,robinparadise/typo,sbstn-jmnz/typo,bikmaeff/CS169.2_hw12,felixitous/typoo,telekomatrix/publify,matthewliu/saas_hw5,shrayus/hw-refactoring-legecy-code,kmathew96/typo,mrfosip/typo,silygose/typo,whithajess/publify,ndueber/cs-169_hw5,wizzro/CS169.2x-hw1-2,freeranger/typo,waruboy/publify,nvgit/typo1,mozzan/publify,shaomingtan/publify,nvgit/typo1,seyedrazavi/publify,vivekv009/inuni-blog,blairanderson/that-music-blog,aren19/HW_5,leminhtuan2015/test_temona,sf-wdi-25/publify_debugging_lab,shrayus/hw-refactoring-legecy-code,kildem/blog,shimolshah/typo-backup,hmallett/publify,framgia/publify,waruboy/publify,amba178/legacy_code,xwang191/-edX.CS169.2x.hw1,felixitous/typoo,leminhtuan2015/temona_staging,silygose/typo,tinnywang/typo,ACPK/typo,vincenttian/cs169hw5,khlumzeemee/typo,solanolabs/publify,shaomingtan/publify,hmallett/publify,sbstn-jmnz/typo,leminhtuan2015/test_temona,burakicel/Burakicel.com,tinnywang/typo,kryptykfysh/saas_typo,agiamas/publify,vivekv009/inuni-blog,lbiedinger/cs_typo,bikmaeff/CS169.2_hw12,leminhtuan2015/portal_staging,framgia/publify,drakontia/publify,zsstor/Typo,saasbook/typo,robinparadise/typo,Juuro/publify,boostsup/HW5_typo,P5hil/typo,Chickey2/typo,waruboy/publify,silygose/typo,natesholland/typo,ashrob/typo,bikmaeff/CS169.2_hw12,SF-WDI-LABS/publify_debugging_lab,zsstor/Typo,bsiebz/legacyhw,vivekv009/inuni-blog,kmathew96/typo,kmathew96/typo,leminhtuan2015/portal_staging,randyramadhana/typo,vincenttian/cs169hw5,leminhtuan2015/temona_staging,xwang191/-edX.CS169.2x.hw1,P5hil/typo