Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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 oem authored
2  actionpack/lib/action_view/helpers/form_helper.rb
View
@@ -259,7 +259,7 @@ def convert_to_model(object)
# :remote => true
#
# in the options hash creates a form that will allow the unobtrusive JavaScript drivers to modify its
- # behavior. The expected default behaviour is an XMLHttpRequest in the background instead of the regular
+ # behavior. The expected default behavior is an XMLHttpRequest in the background instead of the regular
# POST arrangement, but ultimately the behavior is the choice of the JavaScript driver implementor.
# Even though it's using JavaScript to serialize the form elements, the form submission will work just like
# 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
View
@@ -30,7 +30,7 @@ module FormTagHelper
# (by passing <tt>false</tt>).
# * A list of parameters to feed to the URL the form will be posted to.
# * <tt>:remote</tt> - If set to true, will allow the Unobtrusive JavaScript drivers to control the
- # submit behavior. By default this behaviour is an ajax submit.
+ # submit behavior. By default this behavior is an ajax submit.
#
# ==== Examples
# form_tag('/posts')
2  actionpack/lib/action_view/helpers/url_helper.rb
View
@@ -278,7 +278,7 @@ def link_to(*args, &block)
# prompt with the question specified. If the user accepts, the link is
# processed normally, otherwise no action is taken.
# * <tt>:remote</tt> - If set to true, will allow the Unobtrusive JavaScript drivers to control the
- # submit behavior. By default this behaviour is an ajax submit.
+ # submit behavior. By default this behavior is an ajax submit.
# * <tt>:form_class</tt> - This controls the class of the form within which the submit button will
# be placed
#
Please sign in to comment.
Something went wrong with that request. Please try again.