Skip to content

avoid Hash monkey patch when loading DeepMerge #314

@davidgoldelocks

Description

@davidgoldelocks

followup to #120

DeepMerge can be loaded in 3 different ways:

  1. only the core library
  2. the core library + the default Hash monkey patch
  3. the core library + an alternative Hash monkey patch that does not conflict with ActiveSupport

Config is currently using the 2nd variant:

require 'deep_merge'

However, Config does not actually use the monkey patch, so it should switch to the 1st variant:

require 'deep_merge/core'

This is conceptually cleaner and prevents the conflict with ActiveSupport.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions