From 8db16e86c8506aa863590ef77973d159ec9eca2f Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Tue, 10 Mar 2009 10:42:09 +0100 Subject: [PATCH] your dear missed typo, thank you --- .../guides/source/activerecord_validations_callbacks.textile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/railties/guides/source/activerecord_validations_callbacks.textile b/railties/guides/source/activerecord_validations_callbacks.textile index 8c2990435f..6a2208dea6 100644 --- a/railties/guides/source/activerecord_validations_callbacks.textile +++ b/railties/guides/source/activerecord_validations_callbacks.textile @@ -637,7 +637,7 @@ p.errors.on(:name) h4. +errors.size+ -+size+ returns the total number of errors messages for the object. ++size+ returns the total number of error messages for the object. class Person < ActiveRecord::Base