No he didnt.
Ray's 2 friends were attacked by the 2 who ended up dead and Ray's friends killed them in self-defense.
Ray's only crime (and it was a stupid one, but hardly murder) is that Ray tried to cover for his friends by hiding evidence in his limo (the bloody suit etc).
During the trial, it was determined that Ray's friends acted in self-defense and they didnt go to jail. Ray was cut a deal for his hiding of evidence because he was cooperative.