RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

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!

Transforming Hashes: A Refactoring Story

So many things are easy in Ruby. Transforming a complex hash is not one of them. I’ve yet to find a silver bullet for mapping complex hashes, but some approaches are better than others. Let’s take a look at how I got from bad to ugly to good enough.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in