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 16:36:27 -0200 |
commit | eb171fa328242ce355c9f6f8240cefb146115931 (patch) | |
tree | 4026e123ebfd048998d1edaae3ae6c68ab4c39f9 /activeresource/lib/active_resource | |
parent | 6a85c45b1cced856da3377fe1eb50b1f8436cb9e (diff) | |
download | rails-eb171fa328242ce355c9f6f8240cefb146115931.tar.gz rails-eb171fa328242ce355c9f6f8240cefb146115931.tar.bz2 rails-eb171fa328242ce355c9f6f8240cefb146115931.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/active_resource')
-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 # |