Ruby, a 2-year-old American bulldog mix, lost one eye after rescuing her human from a machete attack. After the incident, Ruby was brought by her homeless human to an emergency animal clinic.

The dog had her eye surgery at San Jose Animal Care and Services, where she stayed while recovering. She was raised by the city-run shelter for weeks. Since the shelter could no longer reach her human, the shelter decided to include Ruby in the regular adoption pool. Ruby wasn't compatible with little kids, cats or even other dogs. Hence, she didn't find a foster home after a long time and was even added to the list of animals scheduled for euthanasia. The shelter asked for the help of Silicon Valley Pet Project to help Ruby find a home and avoid being laid to rest.

"They reached out to us as one of their many rescue partners and asked us to consider taking her into our rescue organization," explains Melissa Lisbon, the co-founder and president of the Silicon Valley Pet Project.

"We were thrilled to be able to help her because, of course, that story was just heartbreaking, especially the fact that she lost an eye as a result."

It's A Ruby Tuesday!

Good morning, friends! Let's kick off Tuesday with a Ruby Tuesday! Our beautiful girl loves to play, is always ready to love, and is so ready for her forever home... <3https://www.svpetproject.org/animals/detail?AnimalID=8532829#svpp #AdoptDontShop #RubyTuesday #animlrescue

Posted by Silicon Valley Pet Project on Tuesday, July 21, 2015

Ruby was lucky that a foster family came to adopt her just in the nick of time.

"It was her last day, and there was just no way I could see her be put to sleep after all that she'd been through," says Rachel Shperber, who adopted Ruby and is still mourning for her 13-year-old German shepherd who had passed away.

"She needed a very specific kind of foster home, with no other dogs, no cats, and no kids. I said to my husband, 'I think we're probably one of the only families who can do that,' so we just put in an application," Shperber recalls, according to The Dogster.

Ruby finally found a foster home but the Silicon Valley Pet Project still continues to spread the word about the dog on her own Facebook page, until she finds a permanent family to live with. Ruby's adoption fee has already been sponsored by a Good Samaritan, and all that is needed is the perfect family to adopt her.

"We will keep her until that perfect family comes along, but I am surprised it hasn't happened yet," said Shperber. "She'll make some lucky family very happy when the time is right."