From 6e583cdac30332f10c73bec4fe3e857b7cdb9975 Mon Sep 17 00:00:00 2001 From: Steven Yang Date: Sun, 30 Jun 2013 00:17:50 +0800 Subject: [PATCH] fix typo in ActiveModel::Error docs [ci skip] --- activemodel/lib/active_model/errors.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activemodel/lib/active_model/errors.rb b/activemodel/lib/active_model/errors.rb index 9341f689de..e608a649f8 100644 --- a/activemodel/lib/active_model/errors.rb +++ b/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..