aboutsummaryrefslogtreecommitdiffstats
path: root/activeresource/CHANGELOG
diff options
context:
space:
mode:
authorRick Olson <technoweenie@gmail.com>2006-09-08 00:07:30 +0000
committerRick Olson <technoweenie@gmail.com>2006-09-08 00:07:30 +0000
commit8d9e6609f8f67e55bba1f9bdbea62af22360dd3c (patch)
treed8315802e29467a28af7d6fb036b912cadbff587 /activeresource/CHANGELOG
parent7c4b6a55b61229ef5f2f053c9a88a738497c70cf (diff)
downloadrails-8d9e6609f8f67e55bba1f9bdbea62af22360dd3c.tar.gz
rails-8d9e6609f8f67e55bba1f9bdbea62af22360dd3c.tar.bz2
rails-8d9e6609f8f67e55bba1f9bdbea62af22360dd3c.zip
Basic validation support [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5068 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activeresource/CHANGELOG')
-rw-r--r--activeresource/CHANGELOG6
1 files changed, 6 insertions, 0 deletions
diff --git a/activeresource/CHANGELOG b/activeresource/CHANGELOG
index 2133824488..ef3f3f6a17 100644
--- a/activeresource/CHANGELOG
+++ b/activeresource/CHANGELOG
@@ -1,5 +1,11 @@
*SVN*
+* Basic validation support [Rick Olson]
+
+ Parses the xml response of ActiveRecord::Errors#to_xml with a similar interface to ActiveRecord::Errors.
+
+ render :xml => @person.errors.to_xml, :status => '400 Validation Error'
+
* Deep hashes are converted into collections of resources. [Jeremy Kemper]
Person.new :name => 'Bob',
:address => { :id => 1, :city => 'Portland' },