From 5b97f94e4260e1572403f2657aa6435d3d9de004 Mon Sep 17 00:00:00 2001 From: brendandillon Date: Wed, 3 Aug 2016 16:09:27 -0600 Subject: [PATCH] Changed the description of one_time_buyers_items --- source/projects/black_thursday/iteration_5.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/projects/black_thursday/iteration_5.markdown b/source/projects/black_thursday/iteration_5.markdown index 22d98671b..832168250 100644 --- a/source/projects/black_thursday/iteration_5.markdown +++ b/source/projects/black_thursday/iteration_5.markdown @@ -46,12 +46,12 @@ sa = SalesAnalyst.new sa.one_time_buyers #=> [customer, customer, customer] ``` -Find which item most `one_time_buyers` bought: +Find the item (or items if there are multiple) that was purchased most frequently by `one_time_buyers`: ```rb sa = SalesAnalyst.new -sa.one_time_buyers_item #=> [item] +sa.one_time_buyers_items #=> [item] ``` Find which items a given customer bought in given year (by the `created_at` on the related invoice):