mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Update CHANGELOG.
This commit is contained in:
@@ -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]
|
||||
|
||||
@@ -10,7 +10,7 @@ module ActionView
|
||||
# * <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.
|
||||
|
||||
@@ -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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user