RubyFlow The Ruby and Rails community linklog

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.

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

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