diff options
author | zedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9> | 2006-05-20 21:21:29 +0000 |
---|---|---|
committer | zedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9> | 2006-05-20 21:21:29 +0000 |
commit | 4aa7050dd281caf5f118cf29eeedf2cec3aab079 (patch) | |
tree | a717f0a7093f984bd4a6f69eeae66adbe90efb63 /lib/mongrel | |
parent | 028417a18fc2921d07ba13a4c3674606945787f5 (diff) | |
download | unicorn-4aa7050dd281caf5f118cf29eeedf2cec3aab079.tar.gz |
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@198 19e92222-5c0b-0410-8929-a290d50e31e9
Diffstat (limited to 'lib/mongrel')
-rw-r--r-- | lib/mongrel/cgi.rb | 2 | ||||
-rw-r--r-- | lib/mongrel/handlers.rb | 2 | ||||
-rw-r--r-- | lib/mongrel/rails.rb | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/lib/mongrel/cgi.rb b/lib/mongrel/cgi.rb index 7e93ba3..a9a7539 100644 --- a/lib/mongrel/cgi.rb +++ b/lib/mongrel/cgi.rb @@ -10,7 +10,7 @@ module Mongrel # The CGIWrapper.handler attribute is normally not set and is available for # frameworks that need to get back to the handler. Rails uses this to give # people access to the RailsHandler#files (DirHandler really) so they can - # look-up paths and do other things withthe files managed there. + # look-up paths and do other things with the files managed there. # # In Rails you can get the real file for a request with: # diff --git a/lib/mongrel/handlers.rb b/lib/mongrel/handlers.rb index d71e151..681056f 100644 --- a/lib/mongrel/handlers.rb +++ b/lib/mongrel/handlers.rb @@ -206,7 +206,7 @@ module Mongrel end # Process the request to either serve a file or a directory listing - # if allowed (based on the listing_allowed paramter to the constructor). + # if allowed (based on the listing_allowed parameter to the constructor). def process(request, response) req_method = request.params[Const::REQUEST_METHOD] || Const::GET req_path = can_serve request.params[Const::PATH_INFO] diff --git a/lib/mongrel/rails.rb b/lib/mongrel/rails.rb index e490123..d1e8be6 100644 --- a/lib/mongrel/rails.rb +++ b/lib/mongrel/rails.rb @@ -19,7 +19,7 @@ module Mongrel # # * If the requested exact PATH_INFO exists as a file then serve it. # * If it exists at PATH_INFO+".html" exists then serve that. - # * Finally, construct a Mongrel::CGIWrapper and run Dispatcher.dispath to have Rails go. + # * Finally, construct a Mongrel::CGIWrapper and run Dispatcher.dispatch to have Rails go. # # This means that if you are using page caching it will actually work with Mongrel # and you should see a decent speed boost (but not as fast as if you use lighttpd). @@ -42,7 +42,7 @@ module Mongrel # # * If the requested exact PATH_INFO exists as a file then serve it. # * If it exists at PATH_INFO+".html" exists then serve that. - # * Finally, construct a Mongrel::CGIWrapper and run Dispatcher.dispath to have Rails go. + # * Finally, construct a Mongrel::CGIWrapper and run Dispatcher.dispatch to have Rails go. def process(request, response) return if response.socket.closed? @@ -115,7 +115,7 @@ module Mongrel # time you call this function it does all the config # needed to get your rails working. After that # it returns the one handler you've configured. - # This lets you attach Rails to any URI (and mulitple) + # This lets you attach Rails to any URI (and multiple) # you want, but still protects you from threads destroying # your handler. def rails(options={}) |