method

check_dependent_options

check_dependent_options(dependent)
private

No documentation available.

# File activerecord/lib/active_record/associations/builder/association.rb, line 138
    def self.check_dependent_options(dependent)
      unless valid_dependent_options.include? dependent
        raise ArgumentError, "The :dependent option must be one of #{valid_dependent_options}, but is :#{dependent}"
      end
    end