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

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

Instance Method Summary collapse

Instance Method Details

#newObject



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

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

#registryObject



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

def registry
  @registry ||= {}
end