aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/dispatcher.rb
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Reload the cached column information between requests when the ↵David Heinemeier Hansson2004-12-121-2/+2
| | | | | | ActionController is set to reloading dependencies git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@131 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved require_association to associations.rb and added methods for resetting ↵David Heinemeier Hansson2004-12-121-4/+4
| | | | | | the inheritable attributes on subclasses git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@125 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Only nuke the AbstractApplicationController if its availableDavid Heinemeier Hansson2004-12-081-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@79 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Syntax errors and other exceptions thrown outside of an action are now ↵David Heinemeier Hansson2004-12-061-9/+3
| | | | | | gracefully handled by the dispatcher git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@51 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Abolished ActionController::Base.require_or_load in favor of ↵David Heinemeier Hansson2004-11-301-2/+2
| | | | | | require_dependency and ActiveRecord::Base.require_or_load in favor of require_association. Both methods are now also available in the global namespace when you need to require dependencies or associations outside of whats done automatically. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@32 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* AbstractApplicationController and the individual controllers are now ↵David Heinemeier Hansson2004-11-301-12/+36
| | | | | | completely reloaded on each request if "reload_dependencies" is set to true. This makes it possible to REMOVE methods and constants and have the changes reflected. Beaware that this is still not possible for models, though. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@31 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* InitialDavid Heinemeier Hansson2004-11-241-0/+55
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4 5ecf4fe2-1ee6-0310-87b1-e25e094e27de