class ActiveRecord::Associations::Builder::HasMany

def self.valid_options(options)

Experimental RBS support (using type sampling data from the type_fusion project).

def self.valid_options: (Hash options) -> untyped

This signature was generated using 1 sample from 1 application.

def self.valid_options(options)
  valid = super + [:counter_cache, :join_table, :index_errors]
  valid += [:as, :foreign_type] if options[:as]
  valid += [:through, :source, :source_type] if options[:through]
  valid += [:ensuring_owner_was] if options[:dependent] == :destroy_async
  valid += [:disable_joins] if options[:disable_joins] && options[:through]
  valid
end