Today I Learned
by OneCode

Rename a key in the hash
This post will be short. Have you ever need to rename a key in the hash?
Flatten method can take an argument
I was working with multi-dimensional arrays. I found a problem - I needed to remove one level of the nested array. How to do it with a single method?
How to convert an array of objects into a hash?
Today I worked a lot on specs. I found something that might be useful also for you.
SCP and multiple files
When debugging an issue, I have to check multiple log files. They are stored in the same folder…
Useful Git flag
During my typical day, I work a lot with Git. Sometimes, when I do a big refactoring, I would like to check what files were modified.