diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2012-01-25 11:09:59 -0800 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-01-25 11:09:59 -0800 |
commit | b0239211411ce45f9cbaf5dfaf2ba28cc93c5a6d (patch) | |
tree | 8622f2c22b4f9d69c2844f7c7b27011a0503b3d1 /railties/guides/source/active_resource_basics.textile | |
parent | a267090946b126df5e0da484e5804f7a09e15f8f (diff) | |
parent | 2d73f70ac570a398b1b0a4e201af2ce4aeb83a6d (diff) | |
download | rails-b0239211411ce45f9cbaf5dfaf2ba28cc93c5a6d.tar.gz rails-b0239211411ce45f9cbaf5dfaf2ba28cc93c5a6d.tar.bz2 rails-b0239211411ce45f9cbaf5dfaf2ba28cc93c5a6d.zip |
Merge pull request #4673 from carlosantoniodasilva/validation-guides-update-3-2
Validation guides update 3 2
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 |