The name is usually linked to Dublin slang 'on the gur', meaning skipping school — it was the cheap treat truanting children could afford.
Old bread is soaked, mixed with spices, dried fruit and sugar, then pressed between two thin layers of pastry and baked into a dense, dark slab before being cut into squares. Dublin bakeries have long sold it cheaply from the counter as an everyday sweet treat.