Fix some typos.

This commit is contained in:
Mike Boone 2017-10-10 23:08:03 -04:00
parent b205ea2dc6
commit b1ee5e8e7f
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
#