Rays (elasmos in general) are VERY smart. I'd put them on par with some mammals. Definitly can do simple problem solving and it's been shown repeatedly they have the ability to recognize shapes and will respond to target conditioning. Many have also learned to swim into containers for moving back and forth between tanks/pools/exhibits, hold position for medical treatments (like ultrasounds) and things of that nature.