A sole Ram will be fine. A pair [= male/female] will be more interesting but they must be bonded or the female may not live long. With a bonded pair, spawning will be regular, if that is what you'd like; other fish in the tank will determine survival of eggs/fry. Rams can be nasty to other fish, some types more than others, when spawning. Nosy catfish like corys get picked on a lot for instance, and being nocturnal it is the catfish that usually get the eggs.
Not knowing your level of experience, I'll briefly describe "bonded." The fish must choose their mate, and they will bond, usually for life. There are two ways to achieve this; one is to purchase a group, say 6+, and let them select their mates, then keep one pair and dispose of the rest unless you have tank space. If you are restricted to one or two tanks, I would not go down this road unless you are certain of a home for the unwanted fish. Rams are not gentle fish with each other, and the smaller the tank the more aggressive they can become with each other as they are always in one another's face.An easier way is to observe the tank of fish in the store and look for bonded pairs; they are easy to spot if you study them carefully.
If you just put two fish together, trouble is likely. Two males will obviously not be happy until one is dead. Females sometimes do much the same, it depends upon fish. And a male/female that have not selected each other may sometimes work, if only for a few spawnings, but usually not at all, and the female is usually the loser.
Byron.