aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merged back the Routing branchDavid Heinemeier Hansson2005-02-1519-130/+136
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@614 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added new generator framework that informs about its doings on generation ↵David Heinemeier Hansson2005-02-0742-201/+2057
| | | | | | and enables updating and destruction of generated artifacts. See the new script/destroy and script/update for more details #487 [bitsweat] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@518 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
* Added Florian Gross' latest version of Breakpointer and friends that fixes a ↵David Heinemeier Hansson2005-01-243-226/+238
| | | | | | variaty of bugs #441 [Florian Gross] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@492 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
* Made methods class level methods againDavid Heinemeier Hansson2005-01-171-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@445 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Tagged the 0.9.4 releaseDavid Heinemeier Hansson2005-01-171-68/+72
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@444 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made a bunch of stuff quiet in the docsDavid Heinemeier Hansson2005-01-171-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@441 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
* Went back to original breakpointing as I couldnt make the patches from flgr workDavid Heinemeier Hansson2005-01-153-69/+656
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@425 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed some breakpoint issues and made breakpoint_client depend on ↵David Heinemeier Hansson2005-01-153-656/+69
| | | | | | activerecord/support instead of duplicating the files in railties #441 [Florian Gross] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@424 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Flipped code-to-test ratio around to be more readable #468 [Scott Baron]David Heinemeier Hansson2005-01-151-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@420 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
* Removed Fancy Indexing as a default option on the WEBrick servlet as it made ↵David Heinemeier Hansson2005-01-041-1/+1
| | | | | | it harder to use various caching schemes git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@337 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
* Touched up wording on the new recommendation stuff for generate modelsDavid Heinemeier Hansson2004-12-231-4/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@264 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added protection for creating a model through the generators with a name of ↵David Heinemeier Hansson2004-12-231-0/+27
| | | | | | an existing class, like Thread or Date. It'll even offer you a synonym using wordnet.princeton.edu as a look-up. No, I'm not kidding :) [Florian Gross] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@263 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed CTRL-C exists from the Breakpointer to be a clean affair without error ↵David Heinemeier Hansson2004-12-221-1/+6
| | | | | | dumping [Kent Sibilev] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@246 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed "rake stats" to work with sub-directories in models and controllers ↵David Heinemeier Hansson2004-12-221-3/+36
| | | | | | and to report the code to test ration [Scott Baron] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@245 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
* Cut down on the documentation visibleDavid Heinemeier Hansson2004-12-161-11/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@200 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
* Only requests that require processing from a controller should block the ↵David Heinemeier Hansson2004-12-161-3/+2
| | | | | | webrick server -- requests for stylesheets, images, and the like should be concurrent git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@189 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
* This patch allows urls to be of the form :module/:controller/:action as well ↵David Heinemeier Hansson2004-12-141-1/+10
| | | | | | as :controller/:action/:id where :id is no entirely numeric by determining if what would be :module corresponds to a directory in app/controllers. If it does not then the :controller/:action/:id scheme is used. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@150 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved the quality of the breakpointing -- especially under FCGIDavid Heinemeier Hansson2004-12-132-5/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@146 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cleaner deactivation of the breakpoint serverDavid Heinemeier Hansson2004-12-122-2/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@138 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed a pattern for module loadingDavid Heinemeier Hansson2004-12-121-2/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@137 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Breakpointing that works much better with CGI and FCGIDavid Heinemeier Hansson2004-12-122-79/+97
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@136 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added collusion handling for FCGIDavid Heinemeier Hansson2004-12-121-13/+19
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@134 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added confirmations on successfull connections and resumationsDavid Heinemeier Hansson2004-12-121-3/+21
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@133 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
* Added pattern for specific actions in a modularized controllerDavid Heinemeier Hansson2004-12-121-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@129 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved require_association to associations.rb and added methods for resetting ↵David Heinemeier Hansson2004-12-122-15/+18
| | | | | | the inheritable attributes on subclasses git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@125 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Superseeded by rails_generator.rbDavid Heinemeier Hansson2004-12-121-115/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@122 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added preliminary remote breakpoint supportDavid Heinemeier Hansson2004-12-094-18/+727
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@102 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
* Added a better generator for scaffolding that actually creates the code, so ↵David Heinemeier Hansson2004-12-071-0/+175
| | | | | | it can be edited bit by bit. See "script/generate scaffold" [bitsweat]. Added a whole new approach to generators that used the shared "script/generate" command. Run with no-args to see help [bitsweat]. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@63 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Syntax errors and other exceptions thrown outside of an action are now ↵David Heinemeier Hansson2004-12-063-11/+4
| | | | | | gracefully handled by the dispatcher git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@51 5ecf4fe2-1ee6-0310-87b1-e25e094e27de