We have two Cavalier King Charles Spaniels, one of which we've nicknamed Houdini for his ability to escape any enclosure and get into trouble. This gate keeps him safely corralled where we want him AND it's convenient for us to go from one room to another. 

One word of caution - the "small pet" door may look small but even my chunky Cavie could wriggle through. We just keep it closed and the cats can leap over.