The “don’t ask, don’t tell” policy toward gay members of the military is unconstitutional, a federal judge in California ruled Thursday.