Sha256: 7f9030059105dba7dfe18d4d8796b8dc6ded9034cde3074a95f5511525beb013

Contents?: true

Size: 486 Bytes

Versions: 3

Compression:

Stored size: 486 Bytes

Contents

# frozen_string_literal: true

require 'active_record'
require 'active_support/lazy_load_hooks'
require 'active_support/core_ext/array/wrap'

require 'deep_cloneable/association_not_found_exception'
require 'deep_cloneable/skip_validations'
require 'deep_cloneable/deep_clone'

module DeepCloneable
end

ActiveSupport.on_load :active_record do
  protected :initialize_dup if ActiveRecord::VERSION::MAJOR == 3 && ActiveRecord::VERSION::MINOR == 1

  include DeepCloneable::DeepClone
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
deep_cloneable-3.2.1 lib/deep_cloneable.rb
deep_cloneable-3.2.0 lib/deep_cloneable.rb
deep_cloneable-3.1.0 lib/deep_cloneable.rb