method
reverse_merge
rails latest stable - Class:
ActiveSupport::CoreExtensions::Hash::ReverseMerge
reverse_merge(other_hash)public
Performs the opposite of merge, with the keys and values from the first hash taking precedence over the second.
1Note
reverse_merge(other_hash)
Performs the opposite of merge, with the keys and values from the first hash taking precedence over the second.