Sha256: c06b41a4326184c1d191290e7fa515c6fc9a5216450cae8f439b2b7605d07379

Contents?: true

Size: 268 Bytes

Versions: 8

Compression:

Stored size: 268 Bytes

Contents

# frozen_string_literal: true

module ActiveRecord::Associations::Builder
  class BelongsTo < SingularAssociation
    def self.valid_dependent_options
      [:auto, :destroy, :delete, :destroy_async]
    end
    private_class_method :valid_dependent_options
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
dependent-auto-rails-0.2.2 lib/dependent-auto-rails/activerecord/associations/builder/belongs_to.rb
dependent-auto-rails-0.2.1 lib/dependent-auto-rails/activerecord/associations/builder/belongs_to.rb
dependent-auto-rails-0.2.0 lib/dependent-auto-rails/activerecord/associations/builder/belongs_to.rb
dependent-auto-rails-0.1.9 lib/dependent-auto-rails/activerecord/associations/builder/belongs_to.rb
dependent-auto-rails-0.1.8 lib/dependent-auto-rails/activerecord/associations/builder/belongs_to.rb
dependent-auto-rails-0.1.7 lib/dependent-auto-rails/activerecord/associations/builder/belongs_to.rb
dependent-auto-rails-0.1.6 lib/dependent-auto-rails/activerecord/associations/builder/belongs_to.rb
dependent-auto-rails-0.1.3 lib/dependent-auto-rails/activerecord/associations/builder/belongs_to.rb