From 294fb94cff07108f933e24fff2fab0afff065eb3 Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Thu, 9 Feb 2012 20:21:27 -0200 Subject: Change AR validation guide to remove ordered hash mention related to AMo::Errors --- railties/guides/source/active_record_validations_callbacks.textile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties/guides/source') diff --git a/railties/guides/source/active_record_validations_callbacks.textile b/railties/guides/source/active_record_validations_callbacks.textile index 15d24f9ac1..72ac8d2db9 100644 --- a/railties/guides/source/active_record_validations_callbacks.textile +++ b/railties/guides/source/active_record_validations_callbacks.textile @@ -675,7 +675,7 @@ The following is a list of the most commonly used methods. Please refer to the + h4(#working_with_validation_errors-errors). +errors+ -Returns an instance of the class +ActiveModel::Errors+ (which behaves like an ordered hash) containing all errors. Each key is the attribute name and the value is an array of strings with all errors. +Returns an instance of the class +ActiveModel::Errors+ containing all errors. Each key is the attribute name and the value is an array of strings with all errors. class Person < ActiveRecord::Base -- cgit v1.2.3