In the clip, The Captain has a pineapple on his porch as a "symbol of hospitality", which leads Ted to remember stealing an identical pineapple from The Captain's house in New York when he was very drunk.
In the clip, The Captain has a pineapple on his porch, and explains to the gang the he practices the tradition of putting one outside as a "symbol of hospitality". This leads Ted to remember stealing an identical pineapple from The Captain's house in New York when he was very drunk.