Charley Wag, Charley Wag,
Ate the pudding and left the bag.*
*In England they make bag pudding. The pudding is made and is cooked in a bag. That's what this line is referring to.
Thanks and Acknowledgements
This rhyme can be found in The Only True Mother Goose Melodies (c. 1843).