Good point, I didn't think to check for that.  The code for entities.rb was originally from a wrapper cookbook, so a new connection was required there.