diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-02-09 20:21:27 -0200 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-02-09 20:21:27 -0200 |
commit | 294fb94cff07108f933e24fff2fab0afff065eb3 (patch) | |
tree | d86ecf9c30b4973967df5535cc42cfa1f91bc5a7 /railties/guides | |
parent | ec6ff1b17a8c070e348a61011f3630ebd3457ebf (diff) | |
download | rails-294fb94cff07108f933e24fff2fab0afff065eb3.tar.gz rails-294fb94cff07108f933e24fff2fab0afff065eb3.tar.bz2 rails-294fb94cff07108f933e24fff2fab0afff065eb3.zip |
Change AR validation guide to remove ordered hash mention related to AMo::Errors
Diffstat (limited to 'railties/guides')
-rw-r--r-- | railties/guides/source/active_record_validations_callbacks.textile | 2 |
1 files changed, 1 insertions, 1 deletions
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. <ruby> class Person < ActiveRecord::Base |