123456789_123456789_123456789_123456789_123456789_

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

Instance Method Summary

Instance Method Details

#new

[ GitHub ]

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

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

#registry

[ GitHub ]

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

def registry
  @registry ||= {}
end