1
0
Fork 0
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:
Steven Yang 2013-06-30 00:17:50 +08:00 committed by Carlos Antonio da Silva
parent 9517aff899
commit 6e583cdac3

View file

@ -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..