Skip to content
This repository
Browse code

Missed a few instances of British English spelling in the last commit

oh and obviously I meant according to Webster, not Weber
  • Loading branch information...
commit ee5cfdf1204100b35bca849a6935cc3d86361cf1 1 parent 71d18ce
Ömür Özkir authored July 24, 2011
2  actionpack/lib/action_view/helpers/form_helper.rb
@@ -259,7 +259,7 @@ def convert_to_model(object)
259 259
       #    :remote => true
260 260
       #
261 261
       # in the options hash creates a form that will allow the unobtrusive JavaScript drivers to modify its
262  
-      # behavior. The expected default behaviour is an XMLHttpRequest in the background instead of the regular
  262
+      # behavior. The expected default behavior is an XMLHttpRequest in the background instead of the regular
263 263
       # POST arrangement, but ultimately the behavior is the choice of the JavaScript driver implementor.
264 264
       # Even though it's using JavaScript to serialize the form elements, the form submission will work just like
265 265
       # a regular submission as viewed by the receiving side (all elements available in <tt>params</tt>).
2  actionpack/lib/action_view/helpers/form_tag_helper.rb
@@ -30,7 +30,7 @@ module FormTagHelper
30 30
       #   (by passing <tt>false</tt>).
31 31
       # * A list of parameters to feed to the URL the form will be posted to.
32 32
       # * <tt>:remote</tt> - If set to true, will allow the Unobtrusive JavaScript drivers to control the
33  
-      #   submit behavior. By default this behaviour is an ajax submit.
  33
+      #   submit behavior. By default this behavior is an ajax submit.
34 34
       #
35 35
       # ==== Examples
36 36
       #   form_tag('/posts')
2  actionpack/lib/action_view/helpers/url_helper.rb
@@ -278,7 +278,7 @@ def link_to(*args, &block)
278 278
       #   prompt with the question specified. If the user accepts, the link is
279 279
       #   processed normally, otherwise no action is taken.
280 280
       # * <tt>:remote</tt> -  If set to true, will allow the Unobtrusive JavaScript drivers to control the
281  
-      #   submit behavior. By default this behaviour is an ajax submit.
  281
+      #   submit behavior. By default this behavior is an ajax submit.
282 282
       # * <tt>:form_class</tt> - This controls the class of the form within which the submit button will
283 283
       #   be placed
284 284
       #

0 notes on commit ee5cfdf

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