Vérifier s'il s'agit d'un post ou d'un thread - Ruby

Ahh, I forgot that important step haha. That’s worked perfectly, thank you very much for your time, effort and patience haha.