Posted 29 days ago. Visible to the public. Linked content. Auto-destruct in 31 days

Updated: Ruby / Rails: clone vs. dup vs. deep_dup

Clarified that deep_dup is only implemented on Hash and Array.

Object#deep_dup calls dup which does not deep_dup its attributes / instance variables.

By refactoring problematic code and creating automated tests, makandra can vastly improve the maintainability of your Rails application.

Owner of this card:

Avatar
Arne Hartherz
Last edit:
29 days ago
by Arne Hartherz
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Arne Hartherz to makandra dev
This website uses cookies to improve usability and analyze traffic.
Accept or learn more