Take a look at [this](https://github.com/thoughtbot/paperclip/issues/617) pull request. This is probably fixed on paperclip 2.4.4