They've also been known to measure the size of enclosed areas by simply following the outer boundary until they find the initial starting point/entrance again and somehow using the time or effort it took, to be a measure of the size of the place.
It seems to be different species of ants having different behaviours, so maybe they're just stupid rule followers as one might first think. Now if we could make one species of ants learn from and adapt behaviour from another species, then there's no doubt they possess intelligence. And if they're not intelligent, should we attribute the ingeniousness these tiny buggers display to evolution instead?