A district judge ruled Thursday that Ray would be held for trial on aggravated assault and related counts.
Margera says he was waiting for a ride around 2 a.m. on June 12 when he got into a verbal altercation with Ray.
Margera says he was walking away and thought the argument had ended when he collapsed to the ground, suffering a concussion and a large cut on his head. A woman who was with Margera says she saw Ray holding a long, pipe-like object.
Ray has said she is innocent.