1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #30855 from boone/fix_typos

Fix some typos [ci skip]
This commit is contained in:
Rafael França 2017-10-10 23:29:35 -04:00 committed by GitHub
commit 68a2888ef0
4 changed files with 6 additions and 6 deletions

View file

@ -83,7 +83,7 @@ module ActionController
#
# ==== Options
# * <tt>:fallback_location</tt> - The default fallback location that will be used on missing `Referer` header.
# * <tt>:allow_other_host</tt> - Allows or dissallow redirection to the host that is different to the current host
# * <tt>:allow_other_host</tt> - Allows or disallow redirection to the host that is different to the current host
#
# All other options that can be passed to <tt>redirect_to</tt> are accepted as
# options and the behavior is identical.

View file

@ -166,7 +166,7 @@ module ActionView
# This may come in handy when using jQuery's HTML5-aware <tt>.data()</tt>
# from 1.4.3.
#
# tag.div data: { city_state: %w( Chigaco IL ) }
# tag.div data: { city_state: %w( Chicago IL ) }
# # => <div data-city-state="[&quot;Chicago&quot;,&quot;IL&quot;]"></div>
#
# The generated attributes are escaped by default. This can be disabled using

View file

@ -270,7 +270,7 @@ module ActionView
begin
routes = @controller.respond_to?(:_routes) && @controller._routes
rescue
# Dont call routes, if there is an error on _routes call
# Don't call routes, if there is an error on _routes call
end
if routes &&
@ -286,7 +286,7 @@ module ActionView
begin
routes = @controller.respond_to?(:_routes) && @controller._routes
rescue
# Dont call routes, if there is an error on _routes call
# Don't call routes, if there is an error on _routes call
end
routes &&

View file

@ -240,7 +240,7 @@ module ActiveRecord
#
# private
#
# def log_chidren
# def log_children
# # Child processing
# end
#
@ -265,7 +265,7 @@ module ActiveRecord
#
# private
#
# def log_chidren
# def log_children
# # Child processing
# end
#