Fixed issues with generating PDFs and using CarrierWave