method
valid_dependent_options
v7.0.0 -
Show latest stable
- Class:
ActiveRecord::Associations::Builder::HasOne
valid_dependent_options()public
No documentation available.
# File activerecord/lib/active_record/associations/builder/has_one.rb, line 18
def self.valid_dependent_options
[:destroy, :destroy_async, :delete, :nullify, :restrict_with_error, :restrict_with_exception]
end