Fix bug regarding 'before_image_post_process' bug (lecture on image uploading with paperclip)