Why is the ringtail called the miners cat?

they were kept as pets in mines to eat mice and other rodents.