Today I had a bug in ruby which I do not quite understand, and it turned out to be reference issue in ruby.
First, I tried something like this and intended to create 4 variables for the same values, but different objects
| 1
 |  | 
This turns out to be a, b, c, d refers to the same object
| 1 2 |  | 
So the correct way should be:
| 1
 |  |