Module: ActiveRecord::ConnectionAdapters::Deduplicable::ClassMethods

Defined in:
lib/active_record/connection_adapters/deduplicable.rb

Instance Method Summary collapse

Instance Method Details

#newObject



13
14
15
# File 'lib/active_record/connection_adapters/deduplicable.rb', line 13

def new(*, **)
  super.deduplicate
end

#registryObject



9
10
11
# File 'lib/active_record/connection_adapters/deduplicable.rb', line 9

def registry
  @registry ||= {}
end