module ShopHelper def order_cycles_name_and_pickup_times(order_cycles) order_cycles.map do |oc| [ pickup_time(oc), oc.id ] end end end