mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
fix typo in ActiveModel::Error docs [ci skip]
This commit is contained in:
parent
9517aff899
commit
6e583cdac3
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ module ActiveModel
|
||||||
#
|
#
|
||||||
# The above allows you to do:
|
# The above allows you to do:
|
||||||
#
|
#
|
||||||
# p = Person.new
|
# person = Person.new
|
||||||
# person.validate! # => ["can not be nil"]
|
# person.validate! # => ["can not be nil"]
|
||||||
# person.errors.full_messages # => ["name can not be nil"]
|
# person.errors.full_messages # => ["name can not be nil"]
|
||||||
# # etc..
|
# # etc..
|
||||||
|
|
Loading…
Reference in a new issue