Seol mar théacs é seo: Rationality, foraging, and associative learning