Maybe internal parasites, bad batch of food, maybe a vitamin deficiency? I am leaning towards the first one but without knowing anything else can't really make a guess. How long have you had the ray? Was it WC or CB? Have you introduced any new fish to the tank recently?
Lets see if we can get a few of the other ray guys in here to help out.