Tried to get file validation working, undefined method for paperclip methods occuring