added 'was_published_recently' method to the Poll model