Rails: Generating Enum Hash Filter
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.
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
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.
Post a comment