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 /railties/guides/source/active_resource_basics.textile | |
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 'railties/guides/source/active_resource_basics.textile')
-rw-r--r-- | railties/guides/source/active_resource_basics.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/active_resource_basics.textile b/railties/guides/source/active_resource_basics.textile index 851aac1a3f..37abb8a640 100644 --- a/railties/guides/source/active_resource_basics.textile +++ b/railties/guides/source/active_resource_basics.textile @@ -71,7 +71,7 @@ person.destroy h3. Validations -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. +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 ActiveModel::Errors. h4. Validating client side resources by overriding validation methods in base class |