As long as the loaches are big, because if they look like they would fit in the ray's mouth, thats where they will be going, and you have to be aware that the loaches have that switch blade by their eyes which will cause very serious damage if they were to be swallowed by a ray. Over all its a risky combo, but can be done.