Fixing problem when using Paperclip

If you use some kind of file attachment library like Paperclip, the image_tag method returns another path that is not '/simple_captcha?code=' .