aboutsummaryrefslogtreecommitdiffstats
path: root/activeresource
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-01-25 09:31:00 -0200
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-01-25 10:03:19 -0200
commit84bd203b39b0905723fc8be38bc9fd24f618e252 (patch)
tree374bafad8d2a210500d290d7101e4abbd8668590 /activeresource
parentcd9a3b055d1d0efc76fe3825689f106afef34516 (diff)
downloadrails-84bd203b39b0905723fc8be38bc9fd24f618e252.tar.gz
rails-84bd203b39b0905723fc8be38bc9fd24f618e252.tar.bz2
rails-84bd203b39b0905723fc8be38bc9fd24f618e252.zip
Change ActiveRecord::Errors to ActiveModel::Errors in guides
Use ActiveModel::Errors in inflection example docs as well. Also fixes wrong information and link to locale file related to Errors#full_messages in I18n guide.
Diffstat (limited to 'activeresource')
-rw-r--r--activeresource/lib/active_resource/validations.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activeresource/lib/active_resource/validations.rb b/activeresource/lib/active_resource/validations.rb
index ca265d053e..a63f02cb57 100644
--- a/activeresource/lib/active_resource/validations.rb
+++ b/activeresource/lib/active_resource/validations.rb
@@ -41,7 +41,7 @@ module ActiveResource
# Module to support validation and errors with Active Resource objects. The module overrides
# Base#save to rescue ActiveResource::ResourceInvalid exceptions and parse the errors returned
# in the web service response. The module also adds an +errors+ collection that mimics the interface
- # of the errors provided by ActiveRecord::Errors.
+ # of the errors provided by ActiveModel::Errors.
#
# ==== Example
#