[Validations Guide] Add full stop to the end of sentence [ci skip]
This commit is contained in:
parent
7c6f8f8fd6
commit
a46138c98e
@ -783,7 +783,7 @@ end
|
||||
Person.new.valid? # => ActiveModel::StrictValidationFailed: Name can't be blank
|
||||
```
|
||||
|
||||
There is also an ability to pass custom exception to `:strict` option
|
||||
There is also an ability to pass custom exception to `:strict` option.
|
||||
|
||||
```ruby
|
||||
class Person < ActiveRecord::Base
|
||||
|
Loading…
Reference in New Issue
Block a user