I just tried a pair of rams in with some of my cories and they terrorised them
Especially during feeding time the rams would attack the cories even though they were much smaller than the cories. I tried them for a week but had to take them out in the end. I had spotted and peppered in with them.
I have panda, peppered, and pygmy cories in with my rams, and the only time they cross paths in a bad manner is if they're fighting over the same sinking algae tablet. And even then, the ram just chases the cory a bit and the cory swims away. No real harm done.
Solution: Distract the rams and then drop the tablet for the cories. And then stick one on the glass for the rams.