Change challenge.public to is_public