Skip to content

Commit

Permalink
Update CHANGELOG.
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed Oct 10, 2010
1 parent 940b577 commit cba395d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
8 changes: 8 additions & 0 deletions actionpack/CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
*Rails 3.1.0 (unreleased)*

* Added render :once. You can pass either a string or an array of strings and Rails will ensure they each of them are rendered just once. [José Valim]

* Deprecate old template handler API. The new API simply requires a template handler to respond to call. [José Valim]

* :rhtml and :rxml were finally removed as template handlers. [José Valim]

* Moved etag responsibility from ActionDispatch::Response to the middleware stack. [José Valim]

* Rely on Rack::Session stores API for more compatibility across the Ruby world. This is backwards incompatible since Rack::Session expects #get_session to accept 4 arguments and requires #destroy_session instead of simply #destroy. [José Valim]

* file_field automatically adds :multipart => true to the enclosing form. [Santiago Pastorino]
Expand Down
2 changes: 1 addition & 1 deletion actionpack/lib/action_view/render/rendering.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module Rendering
# * <tt>:file</tt> - Renders an explicit template file (this used to be the old default), add :locals to pass in those.
# * <tt>:inline</tt> - Renders an inline template similar to how it's done in the controller.
# * <tt>:text</tt> - Renders the text passed in out.
# * <tt>:once</tt> - Receives :template paths and ensures they are rendered just once.
# * <tt>:once</tt> - Accepts a string or an array of strings and Rails will ensure they each of them are rendered just once.
#
# If no options hash is passed or :update specified, the default is to render a partial and use the second parameter
# as the locals hash.
Expand Down
4 changes: 3 additions & 1 deletion railties/CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
*Rails 3.1.0 (unreleased)*

* Added Rack::Cache to the default middleware stack
* Added Rack::Etag and Rack::ConditionalGet to the default middleware stack [José Valim]

* Added Rack::Cache to the default middleware stack [Yehuda Katz and Carl Lerche]

* Engine is now rack application [Piotr Sarnacki]

Expand Down

0 comments on commit cba395d

Please sign in to comment.