i didnt read the whole thread but at the begening you said you changed the subrastrate before the ray spazzed out. i would isolate the ray and remove the substrate or make it the same as what it was.
it could be just that the ray wasnt used to the new substrate stopped eating spazzed out then owner noticed and started changing things and the ray reacted tot the changes as well.
go back to basicas and give the ray time to settle down.
good luck
Thanks for the feedback.
Sent from my iPhone using MonsterAquariaNetwork app