In this episode we show you how to use ruby's inject (reduce) to generate the hash for the filters to be rendered in the view.