Update for compatibility with paperclip version 3.0+