There are several ways: first, you can invite your girlfriend to your home and let him cook with you, so that you can eat and I will cook for you.
Second, if you go to his house with your girlfriend, he will definitely cook for you and let you eat the rice cooked by your girlfriend.
Third, you go to your girlfriend's residence to visit him, and then ask to go to his place for dinner, so that you can eat the rice cooked by your girlfriend.