aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/dispatcher.rb
Commit message (Collapse)AuthorAgeFilesLines
* Make the 3rd arg optional for #failsafe_responseRick Olson2006-03-081-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3815 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a backtrace to the evil WSOD (White Screen of Death). Closes #4073. ↵Rick Olson2006-03-071-2/+4
| | | | | | TODO: Clearer exceptions [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3809 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Clear stale, cached connections left behind by defunct threads. Eliminate ↵Jeremy Kemper2006-03-011-3/+2
| | | | | | duplicate connection cache. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3730 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Speed up class -> connection caching and stale connection verification. ↵Jeremy Kemper2006-02-271-1/+2
| | | | | | Closes #3979. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3693 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove LoadingModuleNicholas Seckar2006-02-031-2/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3526 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add LoadingModule.clear! back temporarilyNicholas Seckar2006-02-021-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3524 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Pluralization bites againNicholas Seckar2006-02-021-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3520 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Further improvements to reloading codeNicholas Seckar2006-02-021-2/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3519 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added reusable reloading support through the inclusion of the Relodable ↵David Heinemeier Hansson2006-01-291-2/+1
| | | | | | module that all subclasses of ActiveRecord::Base, ActiveRecord::Observer, ActiveController::Base, and ActionMailer::Base automatically gets [DHH]. Added auto-loading support for classes in modules, so Conductor::Migration will look for conductor/migration.rb and Conductor::Database::Settings will look for conductor/database/settings.rb [Nicholas Seckar]. Refactored extensions to module, class, and object in active support [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3493 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Connection cache to speed up retrieve_connection and get rid of dirty ↵Jeremy Kemper2005-12-041-1/+1
| | | | | | connection marking. References #428. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3218 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r3181@asus: jeremy | 2005-11-19 02:52:24 -0800Jeremy Kemper2005-11-191-0/+1
| | | | | | | Mark connections for verification. Retrieve connection verifies before returning a connection. Verification tests whether the connection is marked then reconnects if the connection is inactive. All active connections are marked for verification after a request is handled. References #428. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3096 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Failsafe response handler for dispatcher.Jeremy Kemper2005-11-021-7/+29
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2841 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move Dispatcher.dispatch CGI.new out of default args and into rescuable ↵Jeremy Kemper2005-11-011-12/+12
| | | | | | block so the dispatcher catches its errors rather than the fcgi handler. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2839 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Documentation updates/fixes for railtiesJamis Buck2005-10-161-0/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2637 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed memory leak with Active Record classes when Dependencies.mechanism = ↵David Heinemeier Hansson2005-09-201-0/+1
| | | | | | :load #1704 [c.r.mcgrath@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2276 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Only load breakpoint in development mode and when BREAKPOINT_SERVER_PORT is ↵Nicholas Seckar2005-08-311-3/+10
| | | | | | defined. Closes #1957 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2079 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use SIGHUP to dynamically reload an fcgi process without restarting it. ↵Jamis Buck2005-06-291-9/+10
| | | | | | Refactored dispatch.fcgi so that the RailsFCGIHandler is in the lib dir. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1565 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* ActionMailer::Base subclasses are reloaded with other rails components #1262Jamis Buck2005-06-241-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1492 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed the mutex from the WEBrick adapter under the production environment ↵David Heinemeier Hansson2005-06-221-3/+3
| | | | | | so concurrent requests can be served git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1482 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont activate the query cache just yetDavid Heinemeier Hansson2005-05-021-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1278 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Started work on a per-request query cacheDavid Heinemeier Hansson2005-05-021-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1268 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added exception shallowing if the DRb server can't be started (not worth ↵David Heinemeier Hansson2005-03-061-1/+1
| | | | | | making a fuss about to distract new users) #779 [Tobias Luetke] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@864 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Help against errors in ApplicationControllerDavid Heinemeier Hansson2005-02-201-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@716 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated dependency loading to consider non-standard class/file name combinationsDavid Heinemeier Hansson2005-02-201-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@712 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allows a loading module to load from multiple load paths #675David Heinemeier Hansson2005-02-201-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@711 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* All libraries should link against the independent active supportDavid Heinemeier Hansson2005-02-151-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@625 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* A hopefully more successful attempt at the Routing branch mergeDavid Heinemeier Hansson2005-02-151-36/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@617 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Backed out of routing merge.. investigating missing patchesDavid Heinemeier Hansson2005-02-151-15/+37
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@616 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Merged back the Routing branchDavid Heinemeier Hansson2005-02-151-37/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@614 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved subclass reloading responsibilities to DependenciesDavid Heinemeier Hansson2005-01-251-3/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@509 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* New approach to reloading that uses remove_const on ARs and AOs as well as ACsDavid Heinemeier Hansson2005-01-251-21/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@507 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that /Recipe/new and /recipe/new points to the same thing [Lyle Johnson]David Heinemeier Hansson2005-01-241-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@500 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed handling of syntax errors in models that had already been succesfully ↵David Heinemeier Hansson2005-01-241-9/+19
| | | | | | required once in the current interpreter. Fixed superclass mismatch and other controller related problems by not using dependency reloading for controllers. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@482 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Another swing at reloadingDavid Heinemeier Hansson2005-01-241-13/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@479 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Brought back reloading of modelsDavid Heinemeier Hansson2005-01-231-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@478 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Flipped reloads aroundDavid Heinemeier Hansson2005-01-201-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@471 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that FCGI can also display SyntaxErrorsDavid Heinemeier Hansson2005-01-201-3/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@470 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* New adventures in dependency reloadingDavid Heinemeier Hansson2005-01-161-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@430 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* New adventures in dependency reloadingDavid Heinemeier Hansson2005-01-161-15/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@429 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that auto reloading would some times not work or would reload the ↵David Heinemeier Hansson2005-01-151-50/+60
| | | | | | models twice #475 [Tobias Luetke] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@408 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Nuke the controllers after the dispatcher reload to avoid the superclass ↵David Heinemeier Hansson2005-01-021-1/+1
| | | | | | mismatch problem git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@323 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed problems with dependency caching and controller hierarchies on Ruby ↵David Heinemeier Hansson2005-01-021-3/+9
| | | | | | 1.8.2 in development mode #351 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@317 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Switch dispatcher to use the new shared Dependencies approachDavid Heinemeier Hansson2004-12-291-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@280 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* The dispatcher should reload the associations AFTER clearing the inheritable ↵David Heinemeier Hansson2004-12-221-1/+1
| | | | | | variables, not before, or callbacks and others wont work git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@243 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a require_association hook on const_missing that makes it possible to ↵David Heinemeier Hansson2004-12-201-1/+1
| | | | | | use any model class without requiring it first. Added that Active Record associations are now reloaded instead of cleared to work with the new const_missing hook in Active Record. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@233 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed a small bug in the new referencing of DEFAULT_SESSION_OPTIONSDavid Heinemeier Hansson2004-12-161-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@199 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made the last tweaks before 0.9David Heinemeier Hansson2004-12-161-3/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@197 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Renamed AbstractApplicationController and abstract_application.rb to ↵David Heinemeier Hansson2004-12-151-2/+2
| | | | | | ApplicationController and application.rb, so that it will be possible for the framework to automatically pick up on app/views/layouts/application.rhtml and app/helpers/application.rb git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@159 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cleaner deactivation of the breakpoint serverDavid Heinemeier Hansson2004-12-121-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@138 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Breakpointing that works much better with CGI and FCGIDavid Heinemeier Hansson2004-12-121-0/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@136 5ecf4fe2-1ee6-0310-87b1-e25e094e27de