Skip to content
This repository
Browse code

Fix docs (closes #2725)

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2906 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit 01cfd2b00afc25fa4ca8e538f59a405e7eec7bb5 1 parent 8dda7c5
David Heinemeier Hansson authored November 07, 2005
6  actionpack/CHANGELOG
@@ -571,7 +571,7 @@
571 571
 
572 572
 * Added ActionController::Base.asset_host that will then be used by all the asset helpers. This enables you to easily offload static content like javascripts and images to a separate server tuned just for that.
573 573
 
574  
-* Fixed action/fragment caching using the filestore when a directory and a file wanted to to use the same name. Now there's a .cache prefix that sidesteps the conflict #1188 [imbcmdth@hotmail.com]
  574
+* Fixed action/fragment caching using the filestore when a directory and a file wanted to use the same name. Now there's a .cache prefix that sidesteps the conflict #1188 [imbcmdth@hotmail.com]
575 575
 
576 576
 * Fixed missing id uniqueness in FormTag#radio_button #1207 [Jarkko]
577 577
 
@@ -1179,7 +1179,7 @@
1179 1179
 
1180 1180
 * Added POST support for the breakpoint retries, so form processing that raises an exception can be retried with the original request [Florian Gross]
1181 1181
 
1182  
-* Fixed regression with Base#reset_session that wouldn't use the the DEFAULT_SESSION_OPTIONS [adam@the-kramers.net]
  1182
+* Fixed regression with Base#reset_session that wouldn't use the DEFAULT_SESSION_OPTIONS [adam@the-kramers.net]
1183 1183
 
1184 1184
 * Fixed error rendering of rxml documents to not just swallow the exception and return 0 (still not guessing the right line, but hey)
1185 1185
 
@@ -1431,7 +1431,7 @@
1431 1431
 * Added another case to DateHelper#distance_in_minutes to return "less than a minute" instead of "0 minutes" and "1 minute" instead of "1 minutes"
1432 1432
 
1433 1433
 * Added a hidden field to checkboxes generated with FormHelper#check_box that will make sure that the unchecked value (usually 0)
1434  
-  is sent even if the checkbox is not checked. This relieves the controller from doing custom checking if the the checkbox wasn't
  1434
+  is sent even if the checkbox is not checked. This relieves the controller from doing custom checking if the checkbox wasn't
1435 1435
   checked. BEWARE: This might conflict with your run-on-the-mill work-around code. [Tobias Luetke]
1436 1436
 
1437 1437
 * Fixed error_message_on to just use the first if more than one error had been added [marcel]
4  actionpack/lib/action_controller/base.rb
@@ -542,7 +542,7 @@ def controller_name
542 542
       #   # Renders the clear text "Hi there!" within the current active layout (if one exists)
543 543
       #   render :text => "Explosion!", :layout => true
544 544
       #
545  
-      #   # Renders the clear text "Hi there!" within the the layout 
  545
+      #   # Renders the clear text "Hi there!" within the layout 
546 546
       #   # placed in "app/views/layouts/special.r(html|xml)"
547 547
       #   render :text => "Explosion!", :layout => "special"
548 548
       #
@@ -726,7 +726,7 @@ def default_url_options(options) #:doc:
726 726
       #
727 727
       # * <tt>Hash</tt>: The URL will be generated by calling url_for with the +options+.
728 728
       # * <tt>String starting with protocol:// (like http://)</tt>: Is passed straight through as the target for redirection.
729  
-      # * <tt>String not containing a protocol</tt>: The current current protocol and host is prepended to the string.
  729
+      # * <tt>String not containing a protocol</tt>: The current protocol and host is prepended to the string.
730 730
       # * <tt>:back</tt>: Back to the page that issued the request. Useful for forms that are triggered from multiple places.
731 731
       #   Short-hand for redirect_to(request.env["HTTP_REFERER"])
732 732
       # 
2  actionpack/lib/action_view/helpers/form_options_helper.rb
@@ -146,7 +146,7 @@ def options_from_collection_for_select(collection, value_method, text_method, se
146 146
       # Returns a string of option tags, like options_from_collection_for_select, but surrounds them with <optgroup> tags.
147 147
       #
148 148
       # An array of group objects are passed. Each group should return an array of options when calling group_method
149  
-      # Each group should should return its name when calling group_label_method.
  149
+      # Each group should return its name when calling group_label_method.
150 150
       #
151 151
       # html_option_groups_from_collection(@continents, "countries", "continent_name", "country_id", "country_name", @selected_country.id)
152 152
       #
2  actionpack/lib/action_view/helpers/url_helper.rb
@@ -282,7 +282,7 @@ def post_javascript_function
282 282
         #
283 283
         #     "attr" => bool_value
284 284
         #
285  
-        # if the the associated _bool_value_ evaluates to true, it is
  285
+        # if the associated _bool_value_ evaluates to true, it is
286 286
         # replaced with the attribute's name; otherwise the attribute is
287 287
         # removed from the _html_options_ hash.  (See the XHTML 1.0 spec,
288 288
         # section 4.5 "Attribute Minimization" for more:
2  actionwebservice/lib/action_web_service/casting.rb
@@ -18,7 +18,7 @@ def cast_expects(params)
18 18
         self.class.cast_expects(@api_method, params)
19 19
       end
20 20
 
21  
-      # Coerces the given +return_value+ into the the type returned by this
  21
+      # Coerces the given +return_value+ into the type returned by this
22 22
       # method
23 23
       def cast_returns(return_value)
24 24
         self.class.cast_returns(@api_method, return_value)

0 notes on commit 01cfd2b

Please sign in to comment.
Something went wrong with that request. Please try again.