Compatibility with breaking change in paperclip master