added validates attachement to pin model for paperclip