Anyone else's baby get diaper rash when they eat tomatoes?

Last time it was terrible, with open sores- I figured it was because she ate spaghetti twice and oranges all in 24 hours. But she just got another one (not as bad, but open sores again) and all she had was a few bites of tomato that were on pesto pizza last night.
I don't let her sit in it or anything- maybe 5 minutes went by between her pooping and me changing her twice today.

I hate to cut her off- she loves tomato sauce! Anyone else experience this? Will she grow out of it?