Sha256: 64d3aff8c35acdc260743df7c80da0e2c73efb69ec5742fcc5c97039440d4799

Contents?: true

Size: 330 Bytes

Versions: 1

Compression:

Stored size: 330 Bytes

Contents

# frozen_string_literal: true

module ActiveRecord::Associations::Builder
  class HasMany < CollectionAssociation
    def self.valid_dependent_options
      [:auto, :destroy, :delete_all, :nullify, :restrict_with_error, :restrict_with_exception, :destroy_async]
    end
    private_class_method :valid_dependent_options
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dependent-auto-rails-0.1.3 lib/dependent-auto-rails/activerecord/associations/builder/has_many.rb