Posted: 04/06/2015 at 08:45
I can't find the thread I was looking for, but this old one mentions coffee grounds and also polenta. http://www.gardenersworld.com/forum/talkback/talkback-ants/100.html
and also a load of other suggestions.
I can't say that I've tried any of them - as I said I find that keeping the soil moist keeps them away. However, no problem in trying some of the ideas, can't do any harm (except insecticides - I'd only use them if there was a problem in the house. I don't use them in the garden.)