In my battle with the roof rats, using the surveillance cameras I observed all kinds of behavior. Rats have individual tastes, just like humans or cats or dogs.
Once I used Kraft cheese. None of the rats went for it. When I switched to imported French blue cheese, got a couple right away. Their sense of smell is amazing. If the bait failed, it was not because they did not know about it, but it was because they did not care. They could detect an almond in the attic with no problem.
Roof rats are vegetarian, so I never used meat. They went for nuts and fruits. In neighborhoods where people have citrus, pomegranate trees, or date palms, the rats have an abundance of food source. Or they eat dog or cat food that people leave out in the backyard.
It took me a long time to track down their route and find out how they got into my attic. The roof structure is complicated with lots of nooks and crannies, and I had to move the camera around to find their paths. The cameras are WiFi with motion sensing. I set them up to record via FTP into my file server. No way I can watch it 24/7.
Roof rats are nocturnal. They sleep during the day, and go out to eat at night. They like to be high up off the ground. Hence roofs and attics are their preferred spots. Mature roof rats can chew through metal wire mesh. Plywood is like butter to them!