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

That’s the right approach, but the first post in a topic has post_number==1, not post_number==0