---
title: "Discussion on \"Ruby merge Vs deep_merge\" | Hashnode"
description: "Discussion on \"Ruby merge Vs deep_merge\". This post will help you understand the difference between Ruby's merge and Rails deep_merge method.\nMerge\nRuby's merge method merges one hash into another, as it's name suggest\n{ first_name: 'John' }.merge({ last_name: 'Doe' })\n=> {:first_name=>\"John..."
url: "https://hashnode.com/posts/ruby-merge-vs-deepmerge/64226b6266aa3f8316eb2dd6"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Ruby merge Vs deep\_merge](https://blog.przbadu.dev/ruby-merge-vs-deepmerge?utm_source=hashnode&utm_medium=feed)

This post will help you understand the difference between Ruby's merge and Rails deep\_merge method. Merge Ruby's merge method merges one hash into another, as it's name suggest { first\_name: 'John' }.merge({ last\_name: 'Doe' }) => {:first\_name=>"John...

Jan 9, 2022 · 1 min read · blog.przbadu.dev  
Read the article

## Written by

[Pushpa Raj Badu](https://hashnode.com/@przbadu)

@przbadu

  
[View profile](https://hashnode.com/@przbadu)

Fullstack web developer

I am a full-stack Ruby on Rails developer with experience in PostgreSQL, Docker, Heroku, and performance optimization. I love exploring new technology stacks and have recently developed an interest in mobile app development using Flutter. My skills in test-driven development and fixing security vulnerabilities have helped me deliver high-quality, reliable code. I am also currently learning about machine learning and its applications in real-world problem-solving. I bring a unique combination of technical expertise, creative problem-solving, and a passion for learning to any team. I am committed to delivering elegant and efficient software solutions and excited to contribute to an innovative and dynamic team that shares this vision.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
