diff options
Diffstat (limited to 'railties/guides/source')
-rw-r--r-- | railties/guides/source/activerecord_validations_callbacks.textile | 2 |
1 files changed, 1 insertions, 1 deletions
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. <ruby> class Person < ActiveRecord::Base |