aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib
diff options
context:
space:
mode:
authorMike Boone <mike@boonedocks.net>2017-10-10 23:08:03 -0400
committerMike Boone <mike@boonedocks.net>2017-10-10 23:08:03 -0400
commitb1ee5e8e7f98b32196423a144e7a87ae284c7a5c (patch)
treed4ea39084e7bb2b767d24c5b61c9a521d49b144a /actionview/lib
parentb205ea2dc6c70b2b8e2134640e3056ed33fdc6be (diff)
downloadrails-b1ee5e8e7f98b32196423a144e7a87ae284c7a5c.tar.gz
rails-b1ee5e8e7f98b32196423a144e7a87ae284c7a5c.tar.bz2
rails-b1ee5e8e7f98b32196423a144e7a87ae284c7a5c.zip
Fix some typos.
Diffstat (limited to 'actionview/lib')
-rw-r--r--actionview/lib/action_view/helpers/tag_helper.rb2
-rw-r--r--actionview/lib/action_view/test_case.rb4
2 files changed, 3 insertions, 3 deletions
diff --git a/actionview/lib/action_view/helpers/tag_helper.rb b/actionview/lib/action_view/helpers/tag_helper.rb
index a64d7e396e..a6cec3f69c 100644
--- a/actionview/lib/action_view/helpers/tag_helper.rb
+++ b/actionview/lib/action_view/helpers/tag_helper.rb
@@ -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
diff --git a/actionview/lib/action_view/test_case.rb b/actionview/lib/action_view/test_case.rb
index 93be2be2d1..e1cbae5845 100644
--- a/actionview/lib/action_view/test_case.rb
+++ b/actionview/lib/action_view/test_case.rb
@@ -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 &&