I almost did this but then decided not to. Like everyone has said the ray will not be able to escape possible piranha attack. Maybe if the piranhas are well fed, but even then its a huge risk, and rays are not cheap. I would try putting a big tough pleco in there if you want some variety.