hi laura!
here's how i maintain my cast iron grates.
When I'm done grilling, i leave the food particles and stuff on there. Sometimes I scrape them off, but then i immediately brush on a light layer of oil while the grates are still hot.
before cooking, i let the grates warm up for 10+...