aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Rewrap scaffold_resource USAGE so it displays nicely on most terminals. ↵Jeremy Kemper2006-12-081-20/+28
| | | | | | Closes #6801 [Paul Smith] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5707 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Missed commit from [5686].Jeremy Kemper2006-12-062-1/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5691 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed script/process/spawner to work properly with Mongrel including in -r ↵David Heinemeier Hansson2006-12-041-4/+14
| | | | | | (daemonize mode) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5672 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Documentation for generators (closes #6671) [topfunky]David Heinemeier Hansson2006-12-031-24/+73
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5669 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* WupsDavid Heinemeier Hansson2006-12-011-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5662 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* If only life was that simple (it didnt help)David Heinemeier Hansson2006-12-011-2/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5658 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Replace the elaborate reloading connection checking scheme, just fix the ↵David Heinemeier Hansson2006-12-011-5/+2
| | | | | | Ruby-based MySQL adapter, ye? git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5656 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added one-letter aliases for the three default environments to ↵David Heinemeier Hansson2006-12-011-1/+8
| | | | | | script/console, so script/console p will load the production environment (t for test, d for development) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5655 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactored to use same option setupDavid Heinemeier Hansson2006-11-301-6/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5654 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that script/server running against Mongrel should tail the proper log ↵David Heinemeier Hansson2006-11-302-5/+8
| | | | | | regardless of the environment [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5652 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* merge 5639 to trunkMichael Koziarski2006-11-271-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5640 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Only reload connections in development mode that supports (and requires ↵David Heinemeier Hansson2006-11-261-2/+5
| | | | | | that) -- in other words, only do it for SQLite (closes #6687, #6700) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5637 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* redirect_to is the one place where _url should be used, not _path [DHH]David Heinemeier Hansson2006-11-261-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5633 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Tried delaying database disconnect until after dependency resolution ↵David Heinemeier Hansson2006-11-251-5/+3
| | | | | | (references #6687, #6700) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5627 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update initializer to load Rails::VERSION as soon as possible. Closes #6698.Nicholas Seckar2006-11-251-6/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5624 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added ActiveRecord::Base.clear_active_connections! in development mode so ↵David Heinemeier Hansson2006-11-231-1/+5
| | | | | | the database connection is not carried over from request to request. Some databases won't reread the schema if that doesn't happen (I'm looking at you SQLite), so you have to restart the server after each migration (= no fun) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5618 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont include the mime.yml anyway, Mongrel will just ship with more defaults ↵David Heinemeier Hansson2006-11-231-1/+0
| | | | | | instead git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5612 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Restore windows compatibilityDavid Heinemeier Hansson2006-11-191-1/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5577 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Starting, not started yetDavid Heinemeier Hansson2006-11-191-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5576 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make script/server work with -d and -e on MongrelDavid Heinemeier Hansson2006-11-191-41/+32
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5575 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use custom mime file for script/server mongrel if config/mime.yml exists. ↵Rick Olson2006-11-191-1/+9
| | | | | | Pass --mime=other/path for a custom mime file. [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5572 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add custom mime type file for mongrel. config/mime.yml is added with ↵Rick Olson2006-11-191-0/+1
| | | | | | generated apps from the rails command. [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5571 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Scaffold resource should have both a layout and a stylesheet [DHH]David Heinemeier Hansson2006-11-196-1/+104
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5565 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure that exceptions which are thrown outside of the user code try ↵Tobias Lütke2006-11-131-1/+2
| | | | | | | | | their best to be handeled in ApplicationController#rescue_action. This allos handling of ActionController::RoutingError which were previously always handeled by ActionController#Base git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5516 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rails::VERSION::STRING on trunk is 1.2.0Jeremy Kemper2006-11-131-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5507 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rails::VERSION::STRING should always be available. Closes #6244.Jeremy Kemper2006-11-131-73/+79
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5506 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add grep-based fallback to reaper, so it can work in pidless setups (again)Jamis Buck2006-11-111-10/+24
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5488 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Only wrap request processing with our USR1 signal handler so FastCGI can ↵Jeremy Kemper2006-11-111-11/+25
| | | | | | trap it and raise an exception while waiting for connections. Idle processes exit immediately rather than waiting for another request; active processes gracefully exit when the request is finished. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5485 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Alter prior change to use require_dependency instead of require_or_load. ↵Nicholas Seckar2006-11-091-1/+1
| | | | | | Causes ApplicationController to be reloaded again. Closes #6587. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5471 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rake: use absolute paths to load lib and vendor tasks so they may be run ↵Jeremy Kemper2006-11-091-2/+2
| | | | | | outside of RAILS_ROOT. Closes #6584. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5469 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove temporary crutch to help ApplicationController be unloaded. Closes #6496.Nicholas Seckar2006-11-071-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5454 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* scaffold_resource generator uses _path named routes and head instead of ↵Jeremy Kemper2006-11-051-21/+18
| | | | | | render :nothing => true. Closes #6545. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5427 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Turns out call_stack slows down the entire app, so just warn that breakpointsScott Barron2006-11-031-8/+2
| | | | | | | don't work with 1.8.5 for now. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5424 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* umm ... who left that thereScott Barron2006-11-021-4/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5408 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Generator can show diff on file collision to help you decide whether to skip ↵Jeremy Kemper2006-11-021-18/+36
| | | | | | or overwrite. Closes #6364. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5397 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Generated directories are recursively svn added, like mkdir -p. Closes #6416.Jeremy Kemper2006-11-021-6/+20
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5395 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Little better formatting of this string.Scott Barron2006-11-021-4/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5393 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't do call_stack warning all the time, only if a breakpoint is used.Scott Barron2006-11-021-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5392 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* If using Ruby 1.8.5, pull in call_stack so breakpointer works again.Scott Barron2006-11-011-1/+15
| | | | | | | | If using Ruby 1.8.5 and call_stack is not installed, give warnings and instructions. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5380 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* resource and scaffold_resource generators add a restful route to ↵Jeremy Kemper2006-11-013-24/+34
| | | | | | config/routes.rb git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5379 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Clean up the output of rake stats, de-emphasise components and apis, and ↵Michael Koziarski2006-10-272-6/+7
| | | | | | remove the indents for tests [Koz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5369 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added option to script/process/spawner of specifying the binding address ↵David Heinemeier Hansson2006-10-261-26/+59
| | | | | | #5133 [zsombor] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5367 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix scaffolding from using deprecated :post => true (closes #6499)David Heinemeier Hansson2006-10-261-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5366 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update scaffold to use new form_tag block functionality. Closes #6480 [BobSilva]Michael Koziarski2006-10-242-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5351 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Plugin generator: check for class collisions. Closes #4833.Jeremy Kemper2006-10-231-0/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5342 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* mailer unit test handles nested fixture pathsJeremy Kemper2006-10-202-6/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5329 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* reference view path in fixtureJeremy Kemper2006-10-201-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5328 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* .rhtml extension for view onlyJeremy Kemper2006-10-201-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5327 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Mailer generator: handle mailers in modules, set mime_version in unit test.Jeremy Kemper2006-10-205-11/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5326 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Default $KCODE to 'u' to enable the multibyte-safe chars proxy. [Koz]Michael Koziarski2006-10-171-0/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5319 5ecf4fe2-1ee6-0310-87b1-e25e094e27de