I always do some research before going on a trip. I love to find great local places to eat, and I try to avoid the tourist traps.
I write the addresses of all the restaurants, that I think sounds nice, and when I arrive I place them on my map. This way I can see, if one of the restaurants is near me, when I get hungry.
My favourite place to do my research for restaurants (and hotels as well) is Tripadvisor.
I also write my recommendations on Tripadvisor. You can finde me here.