Totally depends on when my ride is. In general though, for a 2 hour ride ill bring a granola bar and/or applesauce packet and sometimes use it, but sometimes not.
If I ride in the middle of the day, I might plan a stop halfway thru the ride for some food if its a 3-4 hour ride.
There is no right or wrong way since it totally depends on multiple factors.