diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2007-09-28 14:18:47 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2007-09-28 14:18:47 +0000 |
commit | e3b49c052b497827c9f058feaa066bbfe184f4da (patch) | |
tree | 4224be14c405d38f7a8911f52360bdd0150673ce /actionpack/lib/action_controller | |
parent | 7cb1f93bcccb2fe476c85e4df71eea06db9a3a5b (diff) | |
download | rails-e3b49c052b497827c9f058feaa066bbfe184f4da.tar.gz rails-e3b49c052b497827c9f058feaa066bbfe184f4da.tar.bz2 rails-e3b49c052b497827c9f058feaa066bbfe184f4da.zip |
Fixed spelling errors (closes #9706) [tarmo/rmm5t]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7666 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller')
5 files changed, 6 insertions, 6 deletions
diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb index bd250af90e..fd7e9e5244 100755 --- a/actionpack/lib/action_controller/base.rb +++ b/actionpack/lib/action_controller/base.rb @@ -577,7 +577,7 @@ module ActionController #:nodoc: # value that appears in the slot for <tt>:first</tt> is not equal to default value for <tt>:first</tt> we stop using # defaults. On it's own, this rule can account for much of the typical Rails URL behavior. # - # Although a convienence, defaults can occasionaly get in your way. In some cases a default persists longer than desired. + # Although a convenience, defaults can occasionally get in your way. In some cases a default persists longer than desired. # The default may be cleared by adding <tt>:name => nil</tt> to <tt>url_for</tt>'s options. # This is often required when writing form helpers, since the defaults in play may vary greatly depending upon where the # helper is used from. The following line will redirect to PostController's default action, regardless of the page it is @@ -983,7 +983,7 @@ module ActionController #:nodoc: # # When using <tt>redirect_to :back</tt>, if there is no referrer, # RedirectBackError will be raised. You may specify some fallback - # behavior for this case by rescueing RedirectBackError. + # behavior for this case by rescuing RedirectBackError. def redirect_to(options = {}) #:doc: case options when %r{^\w+://.*} diff --git a/actionpack/lib/action_controller/caching.rb b/actionpack/lib/action_controller/caching.rb index e90e27c388..3689c335fc 100644 --- a/actionpack/lib/action_controller/caching.rb +++ b/actionpack/lib/action_controller/caching.rb @@ -291,7 +291,7 @@ module ActionController #:nodoc: end def extract_extension(file_path) - # Don't want just what comes after the last '.' to accomodate multi part extensions + # Don't want just what comes after the last '.' to accommodate multi part extensions # such as tar.gz. file_path[/^[^.]+\.(.+)$/, 1] end diff --git a/actionpack/lib/action_controller/helpers.rb b/actionpack/lib/action_controller/helpers.rb index 401726b855..ccdb54c2a1 100644 --- a/actionpack/lib/action_controller/helpers.rb +++ b/actionpack/lib/action_controller/helpers.rb @@ -102,7 +102,7 @@ module ActionController #:nodoc: # end # end # - # Finally, all the above styles can be mixed together, and the +helper+ method can be invokved with a mix of + # Finally, all the above styles can be mixed together, and the +helper+ method can be invoked with a mix of # +symbols+, +strings+, +modules+ and blocks. # helper(:three, BlindHelper) { def mice() 'mice' end } # diff --git a/actionpack/lib/action_controller/integration.rb b/actionpack/lib/action_controller/integration.rb index bfacfb26d1..677d25b6c9 100644 --- a/actionpack/lib/action_controller/integration.rb +++ b/actionpack/lib/action_controller/integration.rb @@ -304,7 +304,7 @@ module ActionController end end - # Get a temporarly URL writer object + # Get a temporary URL writer object def generic_url_rewriter cgi = MockCGI.new('REQUEST_METHOD' => "GET", 'QUERY_STRING' => "", diff --git a/actionpack/lib/action_controller/vendor/html-scanner/html/selector.rb b/actionpack/lib/action_controller/vendor/html-scanner/html/selector.rb index 7ffc1fcfa8..1a3c770254 100644 --- a/actionpack/lib/action_controller/vendor/html-scanner/html/selector.rb +++ b/actionpack/lib/action_controller/vendor/html-scanner/html/selector.rb @@ -794,7 +794,7 @@ module HTML # eventually, and array of substitution values. # # This method is called from four places, so it helps to put it here - # for resue. The only logic deals with the need to detect comma + # for reuse. The only logic deals with the need to detect comma # separators (alternate) and apply them to the selector group of the # top selector. def next_selector(statement, values) |