Ray worked for District Attorney’s offices of San Diego and Imperial County. At the San Diego District Attorney’s office, he handled complex child support litigation. At Imperial County, he was a deputy district attorney who prosecuted some of the most serious cases in the county.