aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/CHANGELOG
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2006-03-13 01:33:57 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2006-03-13 01:33:57 +0000
commit06c2b43f36c84ddd3e17ada057b3dc621d4140f0 (patch)
treeba628a35089b46623f7d8ca3cfec68aa24cece4a /actionpack/CHANGELOG
parentc5d5c4f708ab72b8ba9825017b854b02e0c8481c (diff)
downloadrails-06c2b43f36c84ddd3e17ada057b3dc621d4140f0.tar.gz
rails-06c2b43f36c84ddd3e17ada057b3dc621d4140f0.tar.bz2
rails-06c2b43f36c84ddd3e17ada057b3dc621d4140f0.zip
Rendering xml shouldnt happen inside any layout. Added class proxying to RJS, so you can call page.field.clear("my_field") to generate Field.clear("my_field");. Added :content_type option to render, so you can change the content type on the fly. Do type/subtype reordering of Accept header preferences for xml types (aka make Firefox work with respond_to). CHANGED DEFAULT: The default content type for .rxml is now application/xml instead of type/xml, see http://www.xml.com/pub/a/2004/07/21/dive.html for reason
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3852 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/CHANGELOG')
-rw-r--r--actionpack/CHANGELOG4
1 files changed, 4 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG
index ff2315fc3c..5924b240da 100644
--- a/actionpack/CHANGELOG
+++ b/actionpack/CHANGELOG
@@ -1,5 +1,9 @@
*SVN*
+* Added :content_type option to render, so you can change the content type on the fly [DHH]. Example: render :action => "atom.rxml", :content_type => "application/atom+xml"
+
+* CHANGED DEFAULT: The default content type for .rxml is now application/xml instead of type/xml, see http://www.xml.com/pub/a/2004/07/21/dive.html for reason [DHH]
+
* Added option to render action/template/file of a specific extension (and here by template type). This means you can have multiple templates with the same name but a different extension [DHH]. Example:
class WeblogController < ActionController::Base