diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-01-25 09:31:00 -0200 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-01-25 10:03:19 -0200 |
commit | 84bd203b39b0905723fc8be38bc9fd24f618e252 (patch) | |
tree | 374bafad8d2a210500d290d7101e4abbd8668590 /activeresource/lib | |
parent | cd9a3b055d1d0efc76fe3825689f106afef34516 (diff) | |
download | rails-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/lib')
-rw-r--r-- | activeresource/lib/active_resource/validations.rb | 2 |
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 # |