generates unique pins
set pin number on before_create callback
commented out tests of #vote
setting required to true does not work with before_create callback cause the validation is done before and therefore will fail. since it is genreated internally, I think it is ok to not have require and let the creation of the unique pin in the before_create