method

reverse_merge

reverse_merge(other_hash)
public

No documentation available.

# File activesupport/lib/active_support/core_ext/hash/reverse_merge.rb, line 13
        def reverse_merge(other_hash)
          other_hash.merge(self)
        end

1Note

reverse_merge(other_hash)

carlosbrando ยท Jul 22, 20082 thanks

Performs the opposite of merge, with the keys and values from the first hash taking precedence over the second.