Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

root/branches/2-1-caching/actionpack/CHANGELOG

Revision 8391, 223.7 kB (checked in by david, 10 months ago)

Work branch

Line 
1 *SVN*
2
3 * Fixed that ActionView#file_exists? would be incorrect if @first_render is set #10569 [dbussink]
4
5 * Added that Array#to_param calls to_param on all it's elements #10473 [brandon]
6
7 * Ensure asset cache directories are automatically created.  #10337 [Josh Peek, Chu Yeow]
8
9 * render :xml and :json preserve custom content types.  #10388 [jmettraux, Chu Yeow]
10
11 * Refactor Action View template handlers.  #10437, #10455 [Josh Peek]
12
13 * Fix DoubleRenderError message and leave out mention of returning false from filters.  Closes #10380 [Frederick Cheung]
14
15 * Clean up some cruft around ActionController::Base#head.  Closes #10417 [ssoroka]
16
17
18 *2.0.1* (December 7th, 2007)
19
20 * Fixed send_file/binary_content for testing #8044 [tolsen]
21
22 * When a NonInferrableControllerError is raised, make the proposed fix clearer in the error message. Closes #10199 [danger]
23
24 * Update Prototype to 1.6.0.1.  [sam]
25
26 * Update script.aculo.us to 1.8.0.1.  [madrobby]
27
28 * Add 'disabled' attribute to <OPTION> separators used in time zone and country selects.  Closes #10354 [hasmanyjosh]
29
30 * Added the same record identification guessing rules to fields_for as form_for has [DHH]
31
32 * Fixed that verification violations with no specified action didn't halt the chain (now they do with a 400 Bad Request) [DHH]
33
34 * Raise UnknownHttpMethod exception for unknown HTTP methods. Closes #10303 [Tarmo TÀnav]
35
36 * Update to Prototype -r8232.  [sam]
37
38 * Make sure the optimisation code for routes doesn't get used if :host, :anchor or :port are provided in the hash arguments. [pager, Koz] #10292
39
40 * Added protection from trailing slashes on page caching #10229 [devrieda]
41
42 * Asset timestamps are appended, not prepended. Closes #10276 [mnaberez]
43
44 * Minor inconsistency in description of render example. Closes #10029 [ScottSchram]
45
46 * Add #prepend_view_path and #append_view_path instance methods on ActionController::Base for consistency with the class methods.  [rick]
47
48 * Refactor sanitizer helpers into HTML classes and make it easy to swap them out with custom implementations.  Closes #10129.  [rick]
49
50 * Add deprecation for old subtemplate syntax for ActionMailer templates, use render :partial [rick]
51
52 * Fix TemplateError so it doesn't bomb on exceptions while running tests [rick]
53
54 * Fixed that named routes living under resources shouldn't have double slashes #10198 [isaacfeliu]
55
56 * Make sure that cookie sessions use a secret that is at least 30 chars in length. [Koz]
57
58 * Fixed that partial rendering should look at the type of the first render to determine its own type if no other clues are available (like when using text.plain.erb as the extension in AM) #10130 [java]
59
60 * Fixed that has_many :through associations should render as collections too #9051 [mathie/danger]
61
62 * Added :mouseover short-cut to AssetTagHelper#image_tag for doing easy image swaps #6893 [joost]
63
64 * Fixed handling of non-domain hosts #9479 [purp]
65
66 * Fix syntax error in documentation example for cycle method. Closes #8735 [foca]
67
68 * Document :with option for link_to_remote. Closes #8765 [ryanb]
69
70 * Document :minute_step option for time_select. Closes #8814 [brupm]
71
72 * Explain how to use the :href option for link_to_remote to degrade gracefully in the absence of JavaScript. Closes #8911 [vlad]
73
74 * Disambiguate :size option for text area tag. Closes #8955 [redbeard]
75
76 * Fix broken tag in assert_tag documentation. Closes #9037 [mfazekas]
77
78 * Add documentation for route conditions. Closes #9041 [innu, manfred]
79
80 * Fix typo left over from previous typo fix in url helper. Closes #9414 [Henrik N]
81
82 * Fixed that ActionController::CgiRequest#host_with_port() should handle standard port #10082 [moro]
83
84 * Update Prototype to 1.6.0 and script.aculo.us to 1.8.0.  [sam, madrobby]
85
86 * Expose the cookie jar as a helper method (before the view would just get the raw cookie hash) [DHH]
87
88 * Integration tests: get_ and post_via_redirect take a headers hash.  #9130 [simonjefford]
89
90 * Simplfy #view_paths implementation.  ActionView templates get the exact object, not a dup.  [Rick]
91
92 * Update tests for ActiveSupport's JSON escaping change.  [rick]
93
94 * FormHelper's auto_index should use #to_param instead of #id_before_type_cast.  Closes #9994 [mattly]
95
96 * Doc typo fixes for ActiveRecordHelper. Closes #9973 [mikong]
97
98 * Make example parameters in restful routing docs idiomatic. Closes #9993 [danger]
99
100 * Make documentation comment for mime responders match documentation example.  Closes #9357 [yon]
101
102 * Introduce a new test case class for functional tests.  ActionController::TestCase. [Koz]
103
104 * Fix incorrect path in helper rdoc. Closes #9926 [viktor tron]
105
106 * Partials also set 'object' to the default partial variable.  #8823 [Nick Retallack, Jeremy Kemper]
107
108 * Request profiler.  [Jeremy Kemper]
109     $ cat login_session.rb
110     get_with_redirect '/'
111     say "GET / => #{path}"
112     post_with_redirect '/sessions', :username => 'john', :password => 'doe'
113     say "POST /sessions => #{path}"
114     $ ./script/performance/request -n 10 login_session.rb
115
116 * Disabled checkboxes don't submit a form value.  #9301 [vladr, robinjfisher]
117
118 * Added tests for options to ActiveRecordHelper#form. Closes #7213 [richcollins, mikong, mislav]
119
120 * Changed before_filter halting to happen automatically on render or redirect but no longer on simply returning false [DHH]
121
122 * Ensure that cookies handle array values correctly.  Closes #9937 [queso]
123
124 * Make sure resource routes don't clash with internal helpers like javascript_path, image_path etc.  #9928 [gbuesing]
125
126 * caches_page uses a single after_filter instead of one per action.  #9891 [Pratik Naik]
127
128 * Update Prototype to 1.6.0_rc1 and script.aculo.us to 1.8.0 preview 0.  [sam, madrobby]
129
130 * Dispatcher: fix that to_prepare should only run once in production.  #9889 [Nathaniel Talbott]
131
132 * Memcached sessions: add session data on initialization; don't silently discard exceptions; add unit tests.  #9823 [kamk]
133
134 * error_messages_for also takes :message and :header_message options which defaults to the old "There were problems with the following fields:" and "<count> errors prohibited this <object_name> from being saved".  #8270 [rmm5t, zach-inglis-lt3]
135
136 * Make sure that custom inflections are picked up by map.resources.  #9815 [mislav]
137
138 * Changed SanitizeHelper#sanitize to only allow the custom attributes and tags when specified in the call [DHH]
139
140 * Extracted sanitization methods from TextHelper to SanitizeHelper [DHH]
141
142 * rescue_from accepts :with => lambda { |exception| ... } or a normal block.  #9827 [Pratik Naik]
143
144 * Add :status to redirect_to allowing users to choose their own response code without manually setting headers. #8297 [codahale, chasgrundy]
145
146 * Add link_to :back which uses your referrer with a fallback to a javascript link. #7366 [eventualbuddha, Tarmo TÀnav]
147
148 * error_messages_for and friends also work with local variables.  #9699 [Frederick Cheung]
149
150 * Fix url_for, redirect_to, etc. with :controller => :symbol instead of 'string'.  #8562, #9525 [Justin Lynn, Tarmo TÀnav, shoe]
151
152 * Use #require_library_or_gem to load the memcache library for the MemCache session and fragment cache stores.  Closes #8662. [Rick]
153
154 * Move ActionController::Routing.optimise_named_routes to ActionController::Base.optimise_named_routes.  Now you can set it in the config. [Rick]
155
156   config.action_controller.optimise_named_routes = false
157
158 * ActionController::Routing::DynamicSegment#interpolation_chunk should call #to_s on all values before calling URI.escape.  [Rick]
159
160 * Only accept session ids from cookies, prevents session fixation attacks.  [bradediger]
161
162
163 *2.0.0 [Preview Release]* (September 29th, 2007) [Includes duplicates of changes from 1.12.2 - 1.13.3]
164
165 * Fixed that render template did not honor exempt_from_layout #9698 [pezra]
166
167 * Better error messages if you leave out the :secret option for request forgery protection.  Closes #9670 [rick]
168
169 * Allow ability to disable request forgery protection, disable it in test mode by default.  Closes #9693 [Pratik Naik]
170
171 * Avoid calling is_missing on LoadErrors. Closes #7460. [ntalbott]
172
173 * Move Railties' Dispatcher to ActionController::Dispatcher, introduce before_ and after_dispatch callbacks, and warm up to non-CGI requests.  [Jeremy Kemper]
174
175 * The tag helper may bypass escaping.  [Jeremy Kemper]
176
177 * Cache asset ids.  [Jeremy Kemper]
178
179 * Optimized named routes respect AbstractRequest.relative_url_root.  #9612 [danielmorrison, Jeremy Kemper]
180
181 * Introduce ActionController::Base.rescue_from to declare exception-handling methods. Cleaner style than the case-heavy rescue_action_in_public.  #9449 [Norbert Crombach]
182
183 * Rename some RequestForgeryProtection methods.  The class method is now #protect_from_forgery, and the default parameter is now 'authenticity_token'.  [Rick]
184
185 * Merge csrf_killer plugin into rails.  Adds RequestForgeryProtection model that verifies session-specific _tokens for non-GET requests.  [Rick]
186
187 * Secure #sanitize, #strip_tags, and #strip_links helpers against xss attacks.  Closes #8877. [Rick, Pratik Naik, Jacques Distler]
188
189   This merges and renames the popular white_list helper (along with some css sanitizing from Jacques Distler version of the same plugin).
190   Also applied updated versions of #strip_tags and #strip_links from #8877.
191
192 * Remove use of & logic operator. Closes #8114. [watson]
193
194 * Fixed JavaScriptHelper#escape_javascript to also escape closing tags #8023 [rubyruy]
195
196 * Fixed TextHelper#word_wrap for multiline strings with extra carrier returns #8663 [seth]
197
198 * Fixed that setting the :host option in url_for would automatically turn off :only_path (since :host would otherwise not be shown) #9586 [Bounga]
199
200 * Added FormHelper#label.  #8641, #9850 [jcoglan, jarkko]
201
202 * Added AtomFeedHelper (slightly improved from the atom_feed_helper plugin) [DHH]
203
204 * Prevent errors when generating routes for uncountable resources, (i.e. sheep where plural == singluar).   map.resources :sheep now creates sheep_index_url for the collection and sheep_url for the specific item.  [Koz]
205
206 * Added support for HTTP Only cookies (works in IE6+ and FF 2.0.5+) as an improvement for XSS attacks #8895 [Pratik Naik, Spakman]
207
208 * Don't warn when a path segment precedes a required segment. Closes #9615. [Nicholas Seckar]
209
210 * Fixed CaptureHelper#content_for to work with the optional content parameter instead of just the block #9434 [sandofsky/wildchild].
211
212 * Added Mime::Type.register_alias for dealing with different formats using the same mime type [DHH]. Example:
213
214     class PostsController < ApplicationController
215       before_filter :adjust_format_for_iphone
216
217       def index
218         @posts = Post.find(:all)
219        
220         respond_to do |format|
221           format.html   # => renders index.html.erb and uses "text/html" as the content type
222           format.iphone # => renders index.iphone.erb and uses "text/html" as the content type
223         end
224       end
225
226
227       private
228         def adjust_format_for_iphone
229           if request.env["HTTP_USER_AGENT"] && request.env["HTTP_USER_AGENT"][/iPhone/]
230             request.format = :iphone
231           end
232         end
233     end
234
235 * Added that render :json will automatically call .to_json unless it's being passed a string [DHH].
236
237 * Autolink behaves well with emails embedded in URLs.  #7313 [Jeremy McAnally, Tarmo TÀnav]
238
239 * Fixed that default layouts did not take the format into account #9564 [Pratik Naik]
240
241 * Fixed optimized route segment escaping.  #9562 [wildchild, Jeremy Kemper]
242
243 * Added block acceptance to JavaScriptHelper#javascript_tag.  #7527 [Bob Silva, Tarmo TÀnav, rmm5t]
244
245 * root_path returns '/' not ''.  #9563 [Pratik Naik]
246
247 * Fixed that setting request.format should also affect respond_to blocks [DHH]
248
249 * Add option to force binary mode on tempfile used for fixture_file_upload.  #6380 [Jonathan Viney]
250
251 * Fixed that resource namespaces wouldn't stick to all nested resources #9399 [pixeltrix]
252
253 * Moved ActionController::Macros::AutoComplete into the auto_complete plugin on the official Rails svn.  #9512 [Pratik Naik]
254
255 * Moved ActionController::Macros::InPlaceEditing into the in_place_editor plugin on the official Rails svn.  #9513 [Pratik Naik]
256
257 * Removed deprecated form of calling xml_http_request/xhr without the first argument being the http verb [DHH]
258
259 * Removed deprecated methods [DHH]:
260
261   - ActionController::Base#keep_flash (use flash.keep instead)
262   - ActionController::Base#expire_matched_fragments (just call expire_fragment with a regular expression)
263   - ActionController::Base.template_root/= methods (use ActionController#Base.view_paths/= instead)
264   - ActionController::Base.cookie (use ActionController#Base.cookies[]= instead)
265
266 * Removed the deprecated behavior of appending ".png" to image_tag/image_path calls without an existing extension [DHH]
267
268 * Removed ActionController::Base.scaffold -- it went through the whole idea of scaffolding (card board walls you remove and tweak one by one). Use the scaffold generator instead (it does resources too now!) [DHH]
269
270 * Optimise named route generation when using positional arguments.  [Koz]
271
272   This change delivers significant performance benefits for the most
273   common usage scenarios for modern rails applications by avoiding the
274   costly trip through url_for.  Initial benchmarks indicate this is
275   between 6 and 20 times as fast.
276
277 * Explicitly require active_record/query_cache before using it.  [Jeremy Kemper]
278
279 * Fix layout overriding response status.  #9476 [lotswholetime]
280
281 * Add field_set_tag for generating field_sets, closes #9477. [djanowski]
282
283 * Allow additional parameters to be passed to named route helpers when using positional arguments.  Closes #8930 [ian.w.white@gmail.com]
284
285 * Make render :partial work with a :collection of Hashes, previously this wasn't possible due to backwards compatibility restrictions.  [Pratik Naik]
286
287 * request.host works with IPv6 addresses.  #9458 [yuya]
288
289 * Fix bug where action caching sets the content type to the ActionCachePath object.  Closes #9282 [mindforge]
290
291 * Find layouts even if they're not in the first view_paths directory.  Closes #9258 [caio]
292
293 * Major improvement to the documentation for the options / select form helpers. Closes #9038 [kampers, jardeon, wesg]
294
295 * Fix number_to_human_size when using different precisions. Closes #7536. [RichardStrand, mpalmer]
296
297 * Added partial layouts (see example in action_view/lib/partials.rb) [DHH]
298
299 * Allow you to set custom :conditions on resource routes.  [Rick]
300
301 * Fixed that file.content_type for uploaded files would include a trailing \r #9053 [bgreenlee]
302
303 * url_for now accepts a series of symbols representing the namespace of the record [Josh Knowles]
304
305 * Make :trailing_slash work with query parameters for url_for. Closes #4004 [nov]
306
307 * Make sure missing template exceptions actually say which template they were looking for.  Closes #8683 [dasil003]
308
309 * Fix errors with around_filters which do not yield, restore 1.1 behaviour with after filters. Closes #8891 [skaes]
310
311   After filters will *no longer* be run if an around_filter fails to yield, users relying on
312   this behaviour are advised to put the code in question after a yield statement in an around filter.
313  
314
315 * Allow you to delete cookies with options. Closes #3685 [Josh Peek, Chris Wanstrath]
316
317 * Allow you to render views with periods in the name.  Closes #8076 [Norbert Crombach]
318
319   render :partial => 'show.html.erb'
320
321 * Improve capture helper documentation.  #8796 [kampers]
322
323 * Prefix nested resource named routes with their action name, e.g. new_group_user_path(@group) instead of group_new_user_path(@group). The old nested action named route is deprecated in Rails 1.2.4.  #8558 [David Chelimsky]
324
325 * Allow sweepers to be created solely for expiring after controller actions, not model changes [DHH]
326
327 * Added assigns method to ActionController::Caching::Sweeper to easily access instance variables on the controller [DHH]
328
329 * Give the legacy X-POST_DATA_FORMAT header greater precedence during params parsing for backward compatibility.  [Jeremy Kemper]
330
331 * Fixed that link_to with an href of # when using :method will not allow for click-through without JavaScript #7037 [Steven Bristol, Josh Peek]
332
333 * Fixed that radio_button_tag should generate unique ids #3353 [Bob Silva, Rebecca, Josh Peek]
334
335 * Fixed that HTTP authentication should work if the header is called REDIRECT_X_HTTP_AUTHORIZATION as well #6754 [mislaw]
336
337 * Don't mistakenly interpret the request uri as the query string.  #8731 [Pratik Naik, Jeremy Kemper]
338
339 * Make ActionView#view_paths an attr_accessor for real this time.  Also, don't perform an unnecessary #compact on the @view_paths array in #initialize.  Closes #8582 [dasil003, julik, rick]
340
341 * Tolerate missing content type on multipart file uploads. Fix for Safari 3.  [Jeremy Kemper]
342
343 * Deprecation: remove pagination. Install the classic_pagination plugin for forward compatibility, or move to the superior will_paginate plugin.  #8157 [Josh Peek]
344
345 * Action caching is limited to GET requests returning 200 OK status.  #3335 [tom@craz8.com, halfbyte, Dan Kubb, Josh Peek]
346
347 * Improve Text Helper test coverage.  #7274 [Rob Sanheim, Josh Peek]
348
349 * Improve helper test coverage.  #7208, #7212, #7215, #7233, #7234, #7235, #7236, #7237, #7238, #7241, #7243, #7244 [Rich Collins, Josh Peek]
350
351 * Improve UrlRewriter tests.  #7207 [Rich Collins]
352
353 * Resources: url_for([parent, child]) generates /parents/1/children/2 for the nested resource. Likewise with the other simply helpful methods like form_for and link_to.  #6432 [mhw, Jonathan Vaught, lotswholetime]
354
355 * Assume html format when rendering partials in RJS. #8076 [Rick]
356
357 * Don't double-escape url_for in views.  #8144 [Rich Collins, Josh Peek]
358
359 * Allow JSON-style values for the :with option of observe_field.  Closes #8557 [kommen]
360
361 * Remove RAILS_ROOT from backtrace paths.  #8540 [Tim Pope]
362
363 * Routing: map.resource :logo routes to LogosController so the controller may be reused for multiple nestings or namespaces.  [Jeremy Kemper]
364
365 * render :partial recognizes Active Record associations as Arrays.  #8538 [Kamal Fariz Mahyuddin]
366
367 * Routing: drop semicolon and comma as route separators.  [Jeremy Kemper]
368
369 * request.remote_ip understands X-Forwarded-For addresses with nonstandard whitespace.  #7386 [moses]
370
371 * Don't prepare response when rendering a component.  #8493 [jsierles]
372
373 * Reduce file stat calls when checking for template changes.  #7736 [alex]
374
375 * Added custom path cache_page/expire_page parameters in addition to the options hashes [DHH]. Example:
376
377     def index
378       caches_page(response.body, "/index.html")
379     end
380
381 * Action Caching speedup.  #8231 [skaes]
382
383 * Wordsmith resources documentation.  #8484 [marclove]
384
385 * Fix syntax error in code example for routing documentation. #8377. [Norbert Crombach]
386
387 * Routing: respond with 405 Method Not Allowed status when the route path matches but the HTTP method does not.  #6953 [Josh Peek, defeated, Dan Kubb, Coda Hale]
388
389 * Add support for assert_select_rjs with :show and :hide. #7780 [dchelimsky]
390
391 * Make assert_select's failure messages clearer about what failed. #7779 [dchelimsky]
392
393 * Introduce a default respond_to block for custom types.  #8174 [Josh Peek]
394
395 * auto_complete_field takes a :method option so you can GET or POST.  #8120 [zapnap]
396
397 * Added option to suppress :size when using :maxlength for FormTagHelper#text_field #3112 [Tim Pope]
398
399 * catch possible WSOD when trying to render a missing partial. Closes #8454 [Catfish]
400
401 * Rewind request body after reading it, if possible.  #8438 [s450r1]
402
403 * Resource namespaces are inherited by their has_many subresources.  #8280 [marclove, ggarside]
404
405 * Fix filtered parameter logging with nil parameter values.  #8422 [choonkeat]
406
407 * Integration tests: alias xhr to xml_http_request and add a request_method argument instead of always using POST.  #7124 [Nik Wakelin, Francois Beausoleil, Wizard]
408
409 * Document caches_action.  #5419 [Jarkko Laine]
410
411 * Update to Prototype 1.5.1.  [Sam Stephenson]
412
413 * Allow routes to be decalred under namespaces [Tobias Luetke]:
414  
415   map.namespace :admin do |admin|
416     admin.root :controller => "products"       
417     admin.feed 'feed.xml', :controller => 'products', :action => 'feed', :format => 'xml'
418   end
419  
420 * Update to script.aculo.us 1.7.1_beta3.  [Thomas Fuchs]
421
422 * observe_form always sends the serialized form.  #5271 [manfred, normelton@gmail.com]
423
424 * Parse url-encoded and multipart requests ourselves instead of delegating to CGI.  [Jeremy Kemper]
425
426 * select :include_blank option can be set to a string instead of true, which just uses an empty string.  #7664 [Wizard]
427
428 * Added url_for usage on render :location, which allows for record identification [DHH]. Example:
429
430     render :xml => person, :status => :created, :location => person
431  
432   ...expands the location to person_url(person).
433
434 * Introduce the request.body stream. Lazy-read to parse parameters rather than always setting RAW_POST_DATA. Reduces the memory footprint of large binary PUT requests.  [Jeremy Kemper]
435
436 * Add some performance enhancements to ActionView.
437
438   * Cache base_paths in @@cached_base_paths
439   * Cache template extensions in @@cached_template_extension
440   * Remove unnecessary rescues
441
442 * Assume that rendered partials go by the HTML format by default
443
444   def my_partial
445     render :update do |page|
446       # in this order
447       # _foo.html.erb
448       # _foo.erb
449       # _foo.rhtml
450       page.replace :foo, :partial => 'foo'
451     end
452   end
453
454 * Added record identifications to FormHelper#form_for and PrototypeHelper#remote_form_for [DHH]. Examples:
455
456     <% form_for(@post) do |f| %>
457       ...
458     <% end %>
459  
460   This will expand to be the same as:
461  
462     <% form_for :post, @post, :url => post_path(@post), :html => { :method => :put, :class => "edit_post", :id => "edit_post_45" } do |f| %>
463       ...
464     <% end %>
465  
466   And for new records:
467  
468     <% form_for(Post.new) do |f| %>
469       ...
470     <% end %>
471  
472   This will expand to be the same as:
473  
474     <% form_for :post, @post, :url => posts_path, :html => { :class => "new_post", :id => "new_post" } do |f| %>
475       ...
476     <% end %>
477
478 * Rationalize route path escaping according to RFC 2396 section 3.3.  #7544, #8307. [Jeremy Kemper, chrisroos, begemot, jugend]
479
480 * Added record identification with polymorphic routes for ActionController::Base#url_for and ActionView::Base#url_for [DHH]. Examples:
481
482     redirect_to(post)         # => redirect_to(posts_url(post))         => Location: http://example.com/posts/1
483     link_to(post.title, post) # => link_to(post.title, posts_url(post)) => <a href="/posts/1">Hello world</a>
484
485   Any method that calls url_for on its parameters will automatically benefit from this.
486
487 * Removed deprecated parameters_for_method_reference concept (legacy from before named routes) [DHH]
488
489 * Add ActionController::Routing::Helpers, a module to contain common URL helpers such as polymorphic_url. [Nicholas Seckar]
490
491 * Included the HttpAuthentication plugin as part of core (ActionController::HttpAuthentication::Basic) [DHH]
492
493 * Modernize documentation for form helpers. [jeremymcanally]
494
495 * Add brief introduction to REST to the resources documentation. [fearoffish]
496
497 * Fix various documentation typos throughout ActionPack. [Henrik N]
498
499 * Enhance documentation and add examples for url_for. [jeremymcanally]
500
501 * Fix documentation typo in routes. [Norbert Crombach, pam]
502
503 * Sweep flash when filter chain is halted. [Caio Chassot <lists@v2studio.com>]
504
505 * Fixed that content_tag with a block will just return the result instead of concate it if not used in a ERb view #7857, #7432 [michael.niessner]
506
507 * Replace the current block/continuation filter chain handling by an implementation based on a simple loop.  #8226 [Stefan Kaes]
508
509 * Update UrlWriter to accept :anchor parameter. Closes #6771. [octopod]
510
511 * Added RecordTagHelper for using RecordIdentifier conventions on divs and other container elements [DHH]. Example:
512
513     <% div_for(post) do %>     <div id="post_45" class="post">
514       <%= post.body %>           What a wonderful world!
515     <% end %>                  </div>
516
517 * Added page[record] accessor to JavaScriptGenerator that relies on RecordIdentifier to find the right dom id [DHH]. Example:
518
519     format.js do
520       # Calls: new Effect.fade('post_45');
521       render(:update) { |page| page[post].visual_effect(:fade) }
522     end
523
524 * Added RecordIdentifier to enforce view conventions on records for dom ids, classes, and partial paths [DHH]
525
526 * Added map.namespace to deal with the common situation of admin sections and the like [DHH]
527
528     Before:
529    
530       map.resources :products, :path_prefix => "admin", :controller => "admin/products", :collection => { :inventory => :get }, :member => { :duplicate => :post }
531       map.resources :tags, :name_prefix => 'admin_product_', :path_prefix => "admin/products/:product_id", :controller => "admin/product_tags"
532       map.resources :images, :name_prefix => 'admin_product_', :path_prefix => "admin/products/:product_id", :controller => "admin/product_images"
533       map.resources :variants, :name_prefix => 'admin_product_', :path_prefix => "admin/products/:product_id", :controller => "admin/product_variants"
534
535     After:
536    
537       map.namespace(:admin) do |admin|
538         admin.resources :products,
539           :collection => { :inventory => :get },
540           :member     => { :duplicate => :post },
541           :has_many   => [ :tags, :images, :variants ]
542       end
543
544 * Added :name_prefix as standard for nested resources [DHH]. WARNING: May be backwards incompatible with your app
545
546     Before:
547
548       map.resources :emails do |emails|
549         emails.resources :comments,    :name_prefix => "email_"
550         emails.resources :attachments, :name_prefix => "email_"
551       end
552      
553     After:
554
555       map.resources :emails do |emails|
556         emails.resources :comments
557         emails.resources :attachments
558       end
559    
560     This does mean that if you intended to have comments_url go to /emails/5/comments, then you'll have to set :name_prefix to nil explicitly.
561
562 * Added :has_many and :has_one for declaring plural and singular resources beneath the current [DHH]
563
564     Before:
565      
566       map.resources :notes do |notes|
567         notes.resources :comments
568         notes.resources :attachments
569         notes.resource :author
570       end
571    
572     After:
573    
574       map.resources :notes, :has_many => [ :comments, :attachments ], :has_one => :author
575
576 * Added that render :xml will try to call to_xml if it can [DHH]. Makes these work:
577
578     render :xml => post
579     render :xml => comments
580
581 * Added :location option to render so that the common pattern of rendering a response after creating a new resource is now a 1-liner [DHH]
582
583     render :xml => post.to_xml, :status => :created, :location => post_url(post)
584
585 * Ensure that render_text only adds string content to the body of the response [DHH]
586
587 * Return the string representation from an Xml Builder when rendering a partial. Closes #5044 [Tim Pope]
588
589 * Fixed that parameters from XML should also be presented in a hash with indifferent access [DHH]
590
591 * Tweak template format rules so that the ACCEPT header is only used if it's text/javascript.  This is so ajax actions without a :format param get recognized as Mime::JS. [Rick]
592
593 * The default respond_to blocks don't set a specific extension anymore, so that both 'show.rjs' and 'show.js.rjs' will work. [Rick]
594
595 * Allow layouts with extension of .html.erb.  Closes #8032 [Josh Knowles]
596
597 * Change default respond_to templates for xml and rjs formats. [Rick]
598
599   * Default xml template goes from #{action_name}.rxml => #{action_name}.xml.builder.
600   * Default rjs template goes from #{action_name}.rjs => #{action_name}.js.rjs.
601  
602   You can still specify your old templates:
603  
604     respond_to do |format|
605       format.xml do
606         render :action => "#{action_name}.rxml"
607       end
608     end
609
610 * Fix WSOD due to modification of a formatted template extension so that requests to templates like 'foo.html.erb' fail on the second hit.  [Rick]
611
612 * Fix WSOD when template compilation fails [Rick]
613
614 * Change ActionView template defaults.  Look for templates using the request format first, such as "show.html.erb" or "show.xml.builder", before looking for the old defaults like "show.erb" or "show.builder" [Rick]
615
616 * Highlight helper highlights one or many terms in a single pass.  [Jeremy Kemper]
617
618 * Dropped the use of ; as a separator of non-crud actions on resources and went back to the vanilla slash. It was a neat idea, but lots of the non-crud actions turned out not to be RPC (as the ; was primarily intended to discourage), but legitimate sub-resources, like /parties/recent, which didn't deserve the uglification of /parties;recent. Further more, the semicolon caused issues with caching and HTTP authentication in Safari. Just Not Worth It [DHH]
619
620 * Added that FormTagHelper#submit_tag will return to its original state if the submit fails and you're using :disable_with [DHH]
621
622 * Cleaned up, corrected, and mildly expanded ActionPack documentation.  Closes #7190 [jeremymcanally]
623
624 * Small collection of ActionController documentation cleanups.  Closes #7319 [jeremymcanally]
625
626 * Make sure the route expiry hash is constructed by comparing the to_param-ized values of each hash. [Jamis Buck]
627
628 * Allow configuration of the default action cache path for #caches_action calls.  [Rick Olson]
629
630   class ListsController < ApplicationController
631     caches_action :index, :cache_path => Proc.new { |controller|
632       controller.params[:user_id] ?
633         controller.send(:user_lists_url, c.params[:user_id]) :
634         controller.send(:lists_url) }
635   end
636
637 * Performance: patch cgi/session/pstore to require digest/md5 once rather than per #initialize.  #7583 [Stefan Kaes]
638
639 * Cookie session store: ensure that new sessions doesn't reuse data from a deleted session in the same request.  [Jeremy Kemper]
640
641 * Deprecation: verification with :redirect_to => :named_route shouldn't be deprecated.  #7525 [Justin French]
642
643 * Cookie session store: raise ArgumentError when :session_key is blank.  [Jeremy Kemper]
644
645 * Deprecation: remove deprecated request, redirect, and dependency methods. Remove deprecated instance variables. Remove deprecated url_for(:symbol, *args) and redirect_to(:symbol, *args) in favor of named routes. Remove uses_component_template_root for toplevel components directory. Privatize deprecated render_partial and render_partial_collection view methods. Remove deprecated link_to_image, link_image_to, update_element_function, start_form_tag, and end_form_tag helper methods. Remove deprecated human_size helper alias.  [Jeremy Kemper]
646
647 * Consistent public/protected/private visibility for chained methods.  #7813 [Dan Manges]
648
649 * Prefer MIME constants to strings.  #7707 [Dan Kubb]
650
651 * Allow array and hash query parameters. Array route parameters are converted/to/a/path as before.  #6765, #7047, #7462 [bgipsy, Jeremy McAnally, Dan Kubb, brendan]
652
653 # Add a #dbman attr_reader for CGI::Session and make CGI::Session::CookieStore#generate_digest public so it's easy to generate digests
654 using the cookie store's secret. [Rick]
655
656 * Added Request#url that returns the complete URL used for the request [DHH]
657
658 * Extract dynamic scaffolding into a plugin.  #7700 [Josh Peek]
659
660 * Added user/password options for url_for to add http authentication in a URL [DHH]
661
662 * Fixed that FormTagHelper#text_area_tag should disregard :size option if it's not a string [Brendon Davidson]
663
664 * Set the original button value in an attribute of the button when using the :disable_with key with submit_tag, so that the original can be restored later. [Jamis Buck]
665
666 * session_enabled? works with session :off.  #6680 [Catfish]
667
668 * Added :port and :host handling to UrlRewriter (which unified url_for usage, regardless of whether it's called in view or controller) #7616 [alancfrancis]
669
670 * Allow send_file/send_data to use a registered mime type as the :type parameter #7620 [jonathan]
671
672 * Allow routing requirements on map.resource(s) #7633 [quixoten]. Example:
673
674   map.resources :network_interfaces, :requirements => { :id => /^\d+\.\d+\.\d+\.\d+$/ }
675
676 * Cookie session store: empty and unchanged sessions don't write a cookie.  [Jeremy Kemper]
677
678 * Added helper(:all) as a way to include all helpers from app/helpers/**/*.rb in ApplicationController [DHH]
679
680 * Integration tests: introduce methods for other HTTP methods.  #6353 [caboose]
681
682 * Routing: better support for escaped values in route segments.  #7544 [Chris
683 Roos]
684
685 * Introduce a cookie-based session store as the Rails default. Sessions typically contain at most a user_id and flash message; both fit within the 4K cookie size limit. A secure message digest is included with the cookie to ensure data integrity (a user cannot alter his user_id without knowing the secret key included in the digest). If you have more than 4K of session data or don't want your data to be visible to the user, pick another session store.  Cookie-based sessions are dramatically faster than the alternatives.   [Jeremy Kemper]
686
687   Example config/environment.rb:
688     # Use an application-wide secret key and the default SHA1 message digest.
689     config.action_controller.session = { :secret => "can't touch this" }
690
691     # Store a secret key per user and employ a stronger message digest.
692     config.action_controller.session = {
693       :digest => 'SHA512',
694       :secret => Proc.new { User.current.secret_key }
695     }
696
697 * Added .erb and .builder as preferred aliases to the now deprecated .rhtml and .rxml extensions [Chad Fowler]. This is done to separate the renderer from the mime type. .erb templates are often used to render emails, atom, csv, whatever. So labeling them .rhtml doesn't make too much sense. The same goes for .rxml, which can be used to build everything from HTML to Atom to whatever. .rhtml and .rxml will continue to work until Rails 3.0, though. So this is a slow phasing out. All generators and examples will start using the new aliases, though.
698
699 * Added caching option to AssetTagHelper#stylesheet_link_tag and AssetTagHelper#javascript_include_tag [DHH]. Examples:
700
701     stylesheet_link_tag :all, :cache => true # when ActionController::Base.perform_caching is false =>
702       <link href="/stylesheets/style1.css"  media="screen" rel="Stylesheet" type="text/css" />
703       <link href="/stylesheets/styleB.css"  media="screen" rel="Stylesheet" type="text/css" />
704       <link href="/stylesheets/styleX2.css" media="screen" rel="Stylesheet" type="text/css" />
705  
706     stylesheet_link_tag :all, :cache => true # when ActionController::Base.perform_caching is true =>
707       <link href="/stylesheets/all.css"  media="screen" rel="Stylesheet" type="text/css" />
708
709   ...when caching is on, all.css is the concatenation of style1.css, styleB.css, and styleX2.css.
710   Same deal for JavaScripts.
711
712 * Work around the two connection per host browser limit: use asset%d.myapp.com to distribute asset requests among asset[0123].myapp.com. Use a DNS wildcard or CNAMEs to map these hosts to your asset server. See http://www.die.net/musings/page_load_time/ for background.  [Jeremy Kemper]
713
714 * Added default mime type for CSS (Mime::CSS) [DHH]
715
716 * Added that rendering will automatically insert the etag header on 200 OK responses. The etag is calculated using MD5 of the response body. If a request comes in that has a matching etag, the response will be changed to a 304 Not Modified and the response body will be set to an empty string. [DHH]
717
718 * Added X-Runtime to all responses with the request run time [DHH]
719
720 * Add Mime::Type convenience methods to check the current mime type. [Rick]
721
722   request.format.html? # => true if Mime::HTML
723   request.format.jpg?  # => true if Mime::JPG
724
725   # ActionController sample usage:
726   # the session will be disabled for non html/ajax requests
727   session :off, :if => Proc.new { |req| !(req.format.html? || req.format.js?) }
728
729 * Performance: patch cgi/session to require digest/md5 once rather than per #create_new_id.  [Stefan Kaes]
730
731 * Add a :url_based_filename => true option to ActionController::Streaming::send_file, which allows URL-based filenames.  [Thomas Fuchs]
732
733 * Fix that FormTagHelper#submit_tag using :disable_with should trigger the onsubmit handler of its form if available [DHH]
734
735 * Fix #render_file so that TemplateError is called with the correct params and you don't get the WSOD.  [Rick]
736
737 * Fix issue with deprecation messing up #template_root= usage.  Add #prepend_view_path and #append_view_path to allow modification of a copy of the
738 superclass' view_paths.  [Rick]
739
740 * Allow Controllers to have multiple view_paths instead of a single template_root.  Closes #2754 [John Long]
741
742 * Add much-needed html-scanner tests.  Fixed CDATA parsing bug. [Rick]
743
744 * improve error message for Routing for named routes.  Closes #7346 [Rob Sanheim]
745
746 * Added enhanced docs to routing assertions.  Closes #7359 [Rob Sanheim]
747
748 * fix form_for example in ActionController::Resources documentation.  Closes #7362 [gnarg]
749
750 * Make sure that the string returned by TextHelper#truncate is actually a string, not a char proxy -- that should only be used internally while working on a multibyte-safe way of truncating [DHH]
751
752 * Added FormBuilder#submit as a delegate for FormTagHelper#submit_tag [DHH]
753
754 * Allow Routes to generate all urls for a set of options by specifying :generate_all => true. Allows caching to properly set or expire all paths for a resource. References #1739. [Nicholas Seckar]
755
756 * Change the query parser to map empty GET params to "" rather than nil. Closes #5694. [Nicholas Seckar]
757
758 * date_select and datetime_select take a :default option.  #7052 [nik.wakelin]
759     date_select "post", "written_on", :default => 3.days.from_now
760     date_select "credit_card", "bill_due", :default => { :day => 20 }
761
762 * select :multiple => true suffixes the attribute name with [] unless already suffixed.  #6977 [nik.kakelin, ben, julik]
763
764 * Improve routes documentation.  #7095 [zackchandler]
765
766 * mail_to :encode => 'hex' also encodes the mailto: part of the href attribute as well as the linked email when no name is given.  #2061 [Jarkko Laine, pfc.pille@gmx.net]
767
768 * Resource member routes require :id, eliminating the ambiguous overlap with collection routes.  #7229 [dkubb]
769
770 * Remove deprecated assertions.  [Jeremy Kemper]
771
772 * Change session restoration to allow namespaced models to be autoloaded. Closes #6348. [Nicholas Seckar]
773
774 * Fix doubly appearing parameters due to string and symbol mixups. Closes #2551. [aeden]
775
776 * Fix overly greedy rescues when loading helpers. Fixes #6268. [Nicholas Seckar]
777
778 * Fixed NumberHelper#number_with_delimiter to use "." always for splitting the original number, not the delimiter parameter #7389 [ceefour]
779
780 * Autolinking recognizes trailing and embedded . , : ;  #7354 [Jarkko Laine]
781
782 * Make TextHelper::auto_link recognize URLs with colons in path correctly, fixes #7268.  [imajes]
783
784 * Update to script.aculo.us 1.7.0.  [Thomas Fuchs]
785
786 * Modernize cookie testing code, and increase coverage (Heckle++) #7101 [Kevin Clark]
787
788 * Improve Test Coverage for ActionController::Routing::Route#matches_controller_and_action? (Heckle++) #7115 [Kevin Clark]
789
790 * Heckling ActionController::Resources::Resource revealed that set_prefixes didn't break when :name_prefix was munged. #7081 [Kevin Clark]
791
792 * Fix #distance_of_time_in_words to report accurately against the Duration class.  #7114 [eventualbuddha]
793
794 * Refactor #form_tag to allow easy extending.  [Rick]
795
796 * Update to Prototype 1.5.0. [Sam Stephenson]
797
798 * RecordInvalid, RecordNotSaved => 422 Unprocessable Entity, StaleObjectError => 409 Conflict.  #7097 [dkubb]
799
800 * Allow fields_for to be nested inside form_for, so that the name and id get properly constructed [Jamis Buck]
801
802 * Allow inGroupsOf and eachSlice to be called through rjs. #7046 [Cody Fauser]
803
804 * Allow exempt_from_layout :rhtml.  #6742, #7026 [Dan Manges, Squeegy]
805
806 * Recognize the .txt extension as Mime::TEXT [Rick]
807
808 * Fix parsing of array[] CGI parameters so extra empty values aren't included.  #6252 [Nicholas Seckar, aiwilliams, brentrowland]
809
810 * link_to_unless_current works with full URLs as well as paths.  #6891 [Jarkko Laine, manfred, idrifter]
811
812 * Lookup the mime type for #auto_discovery_link_tag in the Mime::Type class.  Closes #6941 [Josh Peek]
813
814 * Fix bug where nested resources ignore a parent singleton parent's path prefix.  Closes #6940 [Dan Kubb]
815
816 * Fix no method error with error_messages_on.  Closes #6935 [nik.wakelin Koz]
817
818 * Slight doc tweak to the ActionView::Helpers::PrototypeHelper#replace docs.  Closes #6922 [Steven Bristol]
819
820 * Slight doc tweak to #prepend_filter.  Closes #6493 [Jeremy Voorhis]
821
822 * Add more extensive documentation to the AssetTagHelper.  Closes #6452 [Bob Silva]
823
824 * Clean up multiple calls to #stringify_keys in TagHelper, add better documentation and testing for TagHelper.  Closes #6394 [Bob Silva]
825
826 * [DOCS] fix reference to ActionController::Macros::AutoComplete for #text_field_with_auto_complete. Closes #2578 [Jan Prill]
827
828 * Make sure html_document is reset between integration test requests. [ctm]
829
830 * Set session to an empty hash if :new_session => false and no session cookie or param is present. CGI::Session was raising an unrescued ArgumentError.  [Josh Susser]
831
832 * Routing uses URI escaping for path components and CGI escaping for query parameters.  [darix, Jeremy Kemper]
833
834 * Fix assert_redirected_to bug where redirecting from a nested to to a top-level controller incorrectly added the current controller's nesting.  Closes #6128.  [Rick Olson]
835
836 * Singleton resources: POST /singleton => create, GET /singleton/new => new.  [Jeremy Kemper]
837
838 * Use 400 Bad Request status for unrescued ActiveRecord::RecordInvalid exceptions.  [Jeremy Kemper]
839
840 * Silence log_error deprecation warnings from inspecting deprecated instance variables.  [Nate Wiger]
841
842 * Only cache GET requests with a 200 OK response.  #6514, #6743 [RSL, anamba]
843
844 * Add a 'referer' attribute to TestRequest. [Jamis Buck]
845
846 * Ensure render :json => ... skips the layout.  Closes #6808 [Josh Peek]
847
848 * Fix HTML::Node to output double quotes instead of single quotes.  Closes #6845 [mitreandy]
849
850 * Correctly report which filter halted the chain.  #6699 [Martin Emde]
851
852 * Fix a bug in Routing where a parameter taken from the path of the current request could not be used as a query parameter for the next. Closes #6752. [Nicholas Seckar]
853
854 * Unrescued ActiveRecord::RecordNotFound responds with 404 instead of 500.  [Jeremy Kemper]
855
856 * Improved auto_link to match more valid urls correctly [Tobias Luetke]
857
858 * Add singleton resources. [Rick Olson]
859
860   map.resource :account
861  
862   GET /account
863   GET /account;edit
864   UPDATE /account
865   DELETE /account
866
867 * respond_to recognizes JSON. render :json => @person.to_json automatically sets the content type and takes a :callback option to specify a client-side function to call using the rendered JSON as an argument.  #4185 [Scott Raymond, eventualbuddha]
868     # application/json response with body 'Element.show({:name: "David"})'
869     respond_to do |format|
870       format.json { render :json => { :name => "David" }.to_json, :callback => 'Element.show' }
871     end
872
873 * Makes :discard_year work without breaking multi-attribute parsing in AR.  #1260, #3800 [sean@ardismg.com, jmartin@desertflood.com, stephen@touset.org, Bob Silva]
874
875 * Adds html id attribute to date helper elements.  #1050, #1382 [mortonda@dgrmm.net, David North, Bob Silva]
876
877 * Add :index and @auto_index capability to model driven date/time selects.  #847, #2655 [moriq, Doug Fales, Bob Silva]
878
879 * Add :order to datetime_select, select_datetime, and select_date.  #1427 [Timothee Peignier, patrick@lenz.sh, Bob Silva]
880
881 * Added time_select to work with time values in models. Update scaffolding.  #2489, #2833 [Justin Palmer, Andre Caum, Bob Silva]
882
883 * Added :include_seconds to select_datetime, datetime_select and time_select.  #2998 [csn, Bob Silva]
884
885 * All date/datetime selects can now accept an array of month names with :use_month_names. Allows for localization.  #363 [tomasj, Bob Silva]
886
887 * Adds :time_separator to select_time and :date_separator to select_datetime. Preserves BC.  #3811 [Bob Silva]
888
889 * Added map.root as an alias for map.connect '' [DHH]
890
891 * Added Request#format to return the format used for the request as a mime type. If no format is specified, the first Request#accepts type is used. This means you can stop using respond_to for anything else than responses [DHH]. Examples:
892
893     GET /posts/5.xml   | request.format => Mime::XML
894     GET /posts/5.xhtml | request.format => Mime::HTML
895     GET /posts/5       | request.format => request.accepts.first (usually Mime::HTML for browsers)
896
897 * Added the option for extension aliases to mime type registration [DHH]. Example (already in the default routes):
898
899     Mime::Type.register "text/html", :html, %w( application/xhtml+xml ), %w( xhtml )
900  
901   ...will respond on both .html and .xhtml.
902
903 * @response.redirect_url works with 201 Created responses: just return headers['Location'] rather than checking the response status.  [Jeremy Kemper]
904
905 * Added CSV to Mime::SET so that respond_to csv will work [Cody Fauser]
906
907 * Fixed that HEAD should return the proper Content-Length header (that is, actually use @body.size, not just 0) [DHH]
908
909 * Added GET-masquarading for HEAD, so request.method will return :get even for HEADs. This will help anyone relying on case request.method to automatically work with HEAD and map.resources will also allow HEADs to all GET actions. Rails automatically throws away the response content in a reply to HEAD, so you don't even need to worry about that. If you, for whatever reason, still need to distinguish between GET and HEAD in some edge case, you can use Request#head? and even Request.headers["REQUEST_METHOD"] for get the "real" answer. Closes #6694 [DHH]
910
911 * Update Routing to complain when :controller is not specified by a route. Closes #6669. [Nicholas Seckar]
912
913 * Ensure render_to_string cleans up after itself when an exception is raised.  #6658 [Rob Sanheim]
914
915 * Extract template_changed_since? from compile_template? so plugins may override its behavior for non-file-based templates.  #6651 [Jeff Barczewski]
916
917 * Update to Prototype and script.aculo.us [5579]. [Thomas Fuchs]
918
919 * simple_format helper doesn't choke on nil.  #6644 [jerry426]
920
921 * Update to Prototype 1.5.0_rc2 [5550] which makes it work in Opera again [Thomas Fuchs]
922
923 * Reuse named route helper module between Routing reloads. Use remove_method to delete named route methods after each load. Since the module is never collected, this fixes a significant memory leak. [Nicholas Seckar]
924
925 * ActionView::Base.erb_variable accessor names the buffer variable used to render templates. Defaults to _erbout; use _buf for erubis.  [Rick Olson]
926
927 * assert_select_rjs :remove.  [Dylan Egan]
928
929 * Always clear model associations from session.  #4795 [sd@notso.net, andylien@gmail.com]
930
931 * Update to Prototype 1.5.0_rc2. [Sam Stephenson]
932
933 * Remove JavaScriptLiteral in favor of ActiveSupport::JSON::Variable. [Sam Stephenson]
934
935 * Sync ActionController::StatusCodes::STATUS_CODES with http://www.iana.org/assignments/http-status-codes.  #6586 [dkubb]
936
937 * Multipart form values may have a content type without being treated as uploaded files if they do not provide a filename.  #6401 [Andreas Schwarz, Jeremy Kemper]
938
939 * assert_response supports symbolic status codes.  #6569 [Kevin Clark]
940     assert_response :ok
941     assert_response :not_found
942     assert_response :forbidden
943
944 * Cache parsed query parameters.  #6559 [Stefan Kaes]
945
946 * Deprecate JavaScriptHelper#update_element_function, which is superseeded by RJS [Thomas Fuchs]
947
948 * pluralize helper interprets nil as zero.  #6474 [Tim Pope]
949
950 * Fix invalid test fixture exposed by stricter Ruby 1.8.5 multipart parsing.  #6524 [Bob Silva]
951
952 * Set ActionView::Base.default_form_builder once rather than passing the :builder option to every form or overriding the form helper methods.  [Jeremy Kemper]
953
954 * Deprecate expire_matched_fragments. Use expire_fragment instead.  #6535 [Bob Silva]
955
956 * Update to latest Prototype, which doesn't serialize disabled form elements, adds clone() to arrays, empty/non-string Element.update() and adds a fixes excessive error reporting in WebKit beta versions [Thomas Fuchs]
957
958 * Deprecate start_form_tag and end_form_tag.  Use form_tag / '</form>' from now on.  [Rick]
959
960 * Added block-usage to PrototypeHelper#form_remote_tag, document block-usage of FormTagHelper#form_tag [Rick]
961
962 * Add a 0 margin/padding div around the hidden _method input tag that form_tag outputs.  [Rick]
963
964 * Added block-usage to TagHelper#content_tag [DHH]. Example:
965
966    <% content_tag :div, :class => "strong" %>
967      Hello world!
968    <% end %>
969  
970   Will output:
971     <div class="strong">Hello world!</div>
972
973 * Deprecated UrlHelper#link_to_image and UrlHelper#link_to :post => true #6409 [BobSilva]
974
975 * Upgraded NumberHelper with number_to_phone support international formats to comply with ITU E.123 by supporting area codes with less than 3 digits, added precision argument to number_to_human_size (defaults to 1) #6421 [BobSilva]
976
977 * Fixed that setting RAILS_ASSET_ID to "" should not add a trailing slash after assets #6454 [BobSilva/chrismear]
978
979 * Force *_url named routes to show the host in ActionView [Rick]
980
981   <%= url_for ... %> # no host
982   <%= foo_path %>    # no host
983   <%= foo_url %>     # host!
984
985 * Add support for converting blocks into function arguments to JavaScriptGenerator#call and JavaScriptProxy#call. [Sam Stephenson]
986
987 * Add JavaScriptGenerator#literal for wrapping a string in an object whose #to_json is the string itself. [Sam Stephenson]
988
989 * Add <%= escape_once html %> to escape html while leaving any currently escaped entities alone.  Fix button_to double-escaping issue. [Rick]
990
991 * Fix double-escaped entities, such as &amp;amp;, &amp;#123;, etc. [Rick]
992
993 * Fix deprecation warnings when rendering the template error template. [Nicholas Seckar]
994
995 * Fix routing to correctly determine when generation fails. Closes #6300. [psross].
996
997 * Fix broken assert_generates when extra keys are being checked. [Jamis Buck]
998
999 * Replace KCODE checks with String#chars for truncate.  Closes #6385 [Manfred Stienstra]
1000
1001 * Make page caching respect the format of the resource that is being requested even if the current route is the default route so that, e.g. posts.rss is not transformed by url_for to '/' and subsequently cached as '/index.html' when it should be cached as '/posts.rss'.  [Marcel Molina Jr.]
1002
1003 * Use String#chars in TextHelper::excerpt. Closes #6386 [Manfred Stienstra]
1004
1005 * Install named routes into ActionView::Base instead of proxying them to the view via helper_method. Closes #5932. [Nicholas Seckar]
1006
1007 * Update to latest Prototype and script.aculo.us trunk versions [Thomas Fuchs]
1008
1009 * Fix relative URL root matching problems. [Mark Imbriaco]
1010
1011 * Fix filter skipping in controller subclasses.  #5949, #6297, #6299 [Martin Emde]
1012
1013 * render_text may optionally append to the response body. render_javascript appends by default. This allows you to chain multiple render :update calls by setting @performed_render = false between them (awaiting a better public API).  [Jeremy Kemper]
1014
1015 * Rename test assertion to prevent shadowing. Closes #6306. [psross]
1016
1017 * Fixed that NumberHelper#number_to_delimiter should respect precision of higher than two digits #6231 [phallstrom]
1018
1019 * Fixed that FormHelper#radio_button didn't respect an :id being passed in #6266 [evansj]
1020
1021 * Added an html_options hash parameter to javascript_tag() and update_page_tag() helpers #6311 [tzaharia]. Example:
1022
1023     update_page_tag :defer => 'true' { |page| ... }
1024
1025   Gives:
1026
1027     <script defer="true" type="text/javascript">...</script>
1028    
1029   Which is needed for dealing with the IE6 DOM when it's not yet fully loaded.
1030
1031 * Fixed that rescue template path shouldn't be hardcoded, then it's easier to hook in your own #6295 [mnaberez]
1032
1033 * Fixed escaping of backslashes in JavaScriptHelper#escape_javascript #6302 [sven@c3d2.de]
1034
1035 * Fixed that some 500 rescues would cause 500's themselves because the response had not yet been generated #6329 [cmselmer]
1036
1037 * respond_to :html doesn't assume .rhtml.  #6281 [Hampton Catlin]
1038
1039 * Fixed some deprecation warnings in ActionPack [Rick Olson]
1040
1041 * assert_select_rjs decodes escaped unicode chars since the Javascript generators encode them.  #6240 [japgolly]
1042
1043 * Deprecation: @cookies, @headers, @request, @response will be removed after 1.2. Use the corresponding method instead.  [Jeremy Kemper]
1044
1045 * Make the :status parameter expand to the default message for that status code if it is an integer. Also support symbol statuses. [Jamis Buck]. Examples:
1046
1047     head :status => 404        # expands to "404 Not Found"
1048     head :status => :not_found # expands to "404 Not Found"
1049     head :status => :created   # expands to "201 Created"
1050
1051 * Add head(options = {}) for responses that have no body. [Jamis Buck]. Examples:
1052
1053     head :status => 404 # return an empty response with a 404 status
1054     head :location => person_path(@person), :status => 201
1055
1056 * Fix bug that kept any before_filter except the first one from being able to halt the before_filter chain.  [Rick Olson]
1057
1058 * strip_links is case-insensitive.  #6285 [tagoh, Bob Silva]
1059
1060 * Clear the cache of possible controllers whenever Routes are reloaded. [Nicholas Seckar]
1061
1062 * Filters overhaul including meantime filter support using around filters + blocks.  #5949 [Martin Emde, Roman Le Negrate, Stefan Kaes, Jeremy Kemper]
1063
1064 * Update RJS render tests. [sam]
1065
1066 * Update CGI process to allow sessions to contain namespaced models. Closes #4638. [dfelstead@site5.com]
1067
1068 * Fix routing to respect user provided requirements and defaults when assigning default routing options (such as :action => 'index'). Closes #5950. [Nicholas Seckar]
1069
1070 * Rescue Errno::ECONNRESET to handle an unexpectedly closed socket connection. Improves SCGI reliability.  #3368, #6226 [sdsykes, fhanshaw@vesaria.com]
1071
1072 * Added that respond_to blocks will automatically set the content type to be the same as is requested [DHH]. Examples:
1073
1074     respond_to do |format|
1075       format.html { render :text => "I'm being sent as text/html" }
1076       format.rss  { render :text => "I'm being sent as application/rss+xml" }
1077       format.atom { render :text => "I'm being sent as application/xml", :content_type => Mime::XML }
1078     end
1079
1080 * Added utf-8 as the default charset for all renders. You can change this default using ActionController::Base.default_charset=(encoding) [DHH]
1081
1082 * Added proper getters and setters for content type and charset [DHH]. Example of what we used to do:
1083
1084     response.headers["Content-Type"] = "application/atom+xml; charset=utf-8"
1085  
1086   ...now:
1087  
1088     response.content_type = Mime::ATOM
1089     response.charset      = "utf-8"
1090
1091 * Updated prototype.js to 1.5.0_rc1 with latest fixes. [Rick Olson]
1092
1093   - XPATH support
1094   - Make Form.getElements() return elements in the correct order
1095   - fix broken Form.serialize return
1096
1097 * Declare file extensions exempt from layouts.  #6219 [brandon]
1098     Example: ActionController::Base.