A Kern County judge ruled in favor of a California baker who refused to design a wedding cake for an already-married same-sex couple last year.