ran the function *rails generate paperclip pin image* to fix error on heroku as according to *heroku logs --tail*