DeepDup Gem Released
I was not able to find a plain Ruby some_deeply_nested_object.deep_dup
library so I created one. GitHub link to the gem: deep_dup.
I was not able to find a plain Ruby some_deeply_nested_object.deep_dup
library so I created one. GitHub link to the gem: deep_dup.
Comments
How is this better than
Marshal.load(Marshal.dump(foo))
?I have the equivalent of this for ActiveRecord records https://github.com/danielpclark/PolyBelongsTo
Post a comment