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

Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activerecord-7.0.4/lib/active_record/connection_adapters/deduplicable.rb

Instance Method Summary collapse

Instance Method Details

#newObject



13
14
15
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activerecord-7.0.4/lib/active_record/connection_adapters/deduplicable.rb', line 13

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

#registryObject



9
10
11
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activerecord-7.0.4/lib/active_record/connection_adapters/deduplicable.rb', line 9

def registry
  @registry ||= {}
end