default_url_options documentation

The embedded documentation for ActionController#default_url_options()
is incomplete, inaccurate or at least misleading. Applying it as
shown to an application will cause the automated tests to fail on
argument count mismatches. And other tests that check host in URLs
may start failing if :host is overwritten. The patch below corrects
both problems. It is against Rails 2.3.5. It probably also applies
to earlier versions.

Jeffrey

--- base.rb~ 2009-11-28 17:56:00.000000000 -0600
+++ base.rb 2009-11-30 09:35:43.000000000 -0600
@@ -1062,8 +1062,8 @@
       # Overwrite to implement a number of default options that all
url_for-based methods will use. The default options should come in
       # the form of a hash, just like the one you would use for
url_for directly. Example:

Please do not hesitate to join docrails for doc patches, it is much more agile and we put one ticket less in LH.