Prior to leaving the shire and facing the hardships at hand, the hobbits were incorruptible and unlikely to be influenced by the ring. A gamble by Gandalf, if somewhat deceptive of him, not to prepare them for the journey ahead.
Also, he was baked out of his gourd.
Edit: Yes, yes. Gollum and such, but just look at Pippin.