Permalink
Browse files

fix typo in ActiveModel::Error docs [ci skip]

  • Loading branch information...
1 parent 9517aff commit 6e583cdac30332f10c73bec4fe3e857b7cdb9975 @yangchenyun yangchenyun committed with carlosantoniodasilva Jun 29, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 activemodel/lib/active_model/errors.rb
@@ -50,7 +50,7 @@ module ActiveModel
#
# The above allows you to do:
#
- # p = Person.new
+ # person = Person.new
# person.validate! # => ["can not be nil"]
# person.errors.full_messages # => ["name can not be nil"]
# # etc..

0 comments on commit 6e583cd

Please sign in to comment.