method

valid_dependent_options

rails latest stable - Class: ActiveRecord::Associations::Builder::HasMany

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.0.2) is shown here.

valid_dependent_options()
public

No documentation available.

# File activerecord/lib/active_record/associations/builder/has_many.rb, line 11
    def valid_dependent_options
      [:destroy, :delete_all, :nullify, :restrict, :restrict_with_error, :restrict_with_exception]
    end