problem with paperclip for jst.ejs templates