There is some misunderstanding in this thread concerning GH and especially temperature, I'll try to explain things. First, the fish in the warm tank are not thriving, even though you do not see it. Same holds for fish kept in the wrong water hardness. Both of these parameters seriously impact fish long-term.
"Tropical" fish that we keep in our tanks are very demanding with respect to temperature. Their habitat water does not fluctuate more than a couple degrees, either diurnally or seasonally. And fish are ectotherms, so the temperature of the water in which they live drives their metabolism. Metabolism is the term for all the chemical processes which give life to the fish. Metabolism is linked to all other body processes, either by providing energy to power them or by building and maintaining the structures necessary for them to function. The rate of metabolism is controlled by hormones and is influenced by a number of factors, including prevailing environmental conditions (temperature, salinity and oxygen levels).In any one environment, fish acclimatize to a relatively narrow temperature range. If the temperature moves outside this range for a continuous period or changes rapidly within the accepted range then it causes stress to the fish. The major effects on fish are an alteration in the metabolic rate, a disturbance of respiration, a blood pH imbalance, and a breakdown in osmoregulation function. Stress is the direct cause of more than 90% of all disease in aquarium fish.
A temperature variation of only two or three degrees permanently can cause very serious problems for the fish. Temporary changes such as heat waves or certain heat treatments are not the same because they are not long-term.
To the common or blue ram,
Mikrogeophagus ramirezi. This fish must have warmth, in the range of 27-30C/80-86F, with the mid-range being ideal. Most of our "tropical" fish species have a lower preferred range, say 22-25C/72-77F. This is obviously very general, but the vast majority are within this range. Forced to survive in much warmer water long-term weakens the fish and causes various issues. Temperature does matter.
To pick up on the point
@Essjay made, rams like most of the dwarf cichlids must select their mate. A 24g/94 liter tank will house only one species of dwarf cichlid, with dither fish suited to whatever temperature the cichlid requires.