Merge pull request #19398 from akshay-vishnoi/docs
[ci skip] use false as value rather than symbol
This commit is contained in:
commit
257fd1b391
@ -1496,7 +1496,7 @@ While Rails uses intelligent defaults that will work well in most situations, th
|
||||
|
||||
```ruby
|
||||
class Customer < ActiveRecord::Base
|
||||
has_many :orders, dependent: :delete_all, validate: :false
|
||||
has_many :orders, dependent: :delete_all, validate: false
|
||||
end
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user