Do you grill the corn in the cob, wrap it in foil, add salt/butter in the foil?

I've had mixed success with corn, but I did buy corn on the cob to go with the ribs tomorrow night, so if someone has a good way to do corn on the grill I'll give it another shot.