aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
Commit message (Collapse)AuthorAgeFilesLines
* Proper initializationDavid Heinemeier Hansson2006-08-061-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4691 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove requires from webrick server; they were causing dispatcher.rb to be ↵Nicholas Seckar2006-08-061-4/+1
| | | | | | double loaded. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4688 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move methodNicholas Seckar2006-08-061-8/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4687 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add Dispatcher.to_prepare and config.to_prepare to provide a pre-request hook.Nicholas Seckar2006-08-062-3/+51
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4686 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Tweak the Rails load order so observers are loaded after plugins, and ↵Rick Olson2006-08-062-3/+10
| | | | | | reloaded in development mode. Closed #5279. [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4684 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that you can change the web server port in config/lighttpd.conf from ↵David Heinemeier Hansson2006-08-051-0/+17
| | | | | | script/server --port/-p (closes #5465) [mats@imediatec.co.uk] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4676 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* script/performance/profiler compatibility with the new ruby-prof, including ↵Jeremy Kemper2006-08-051-9/+25
| | | | | | an option to choose the results printer. Closes #5679. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4673 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Call an inspector for inspectorDavid Heinemeier Hansson2006-08-051-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4667 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* ./script/generate usage. Closes #5721.Jeremy Kemper2006-08-051-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4662 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed the failsafe response so it uses either the current recognized ↵Rick Olson2006-07-281-2/+5
| | | | | | controller or ApplicationController. [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4629 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure script/reaper only reaps dispatcher pids by default, and not the ↵Jamis Buck2006-07-181-2/+2
| | | | | | spawner's pid. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4614 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix script/plugin about so it uses about.yml and not meta.yml. [James Adam]Rick Olson2006-07-171-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4612 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Firebird database tasks.Jeremy Kemper2006-07-091-0/+20
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4597 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dispatcher processes rescued actions with the same controller that processed ↵Jeremy Kemper2006-07-081-1/+1
| | | | | | the request. Closes #4625. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4589 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* rails -d frontbase to create a new project with a frontbase database.yml. ↵Jeremy Kemper2006-07-081-6/+6
| | | | | | Closes #4945. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4587 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure the logger is initialized. Closes #5629.Jeremy Kemper2006-07-061-1/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4573 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Mongrel-spawning capabilities to script/process/spawner. Mongrel will ↵David Heinemeier Hansson2006-07-061-17/+61
| | | | | | be the default choice if installed, otherwise FCGI is tried [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4570 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Really, this time. References #5612.Jeremy Kemper2006-07-051-7/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4560 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update scaffolding functional tests to use :id => people(:first) instead of ↵Jeremy Kemper2006-07-051-4/+4
| | | | | | :id => 1. Closes #5612. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4559 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* db:test:clone should remove existing tables before reloading the schema. ↵Jeremy Kemper2006-07-051-5/+5
| | | | | | Closes #5607. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4557 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed migration generation for class names like ACLController (closes #5197) ↵David Heinemeier Hansson2006-07-051-1/+1
| | | | | | [brad@madriska.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4553 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added show_source_list and show_call_stack to breakpoints to make it easier ↵David Heinemeier Hansson2006-07-051-0/+24
| | | | | | to get context (closes #5476) [takiuchi@drecom.co.jp] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4545 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Generate scaffold layout in subdirectory appropriate to its module nesting. ↵Jeremy Kemper2006-07-011-1/+5
| | | | | | Closes #5511. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4527 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* script/server prefers mongrel over lighttpdJeremy Kemper2006-06-291-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4507 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Mongrel: script/server tails the rails log like it does with lighttpd. ↵Jeremy Kemper2006-06-293-19/+27
| | | | | | Closes #5541. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4506 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't assume Active Record is available. Closes #5497.Jeremy Kemper2006-06-281-11/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4505 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Mongrel: script/server works on Win32. Closes #5499.Jeremy Kemper2006-06-282-5/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4504 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove opts.on { |options[:option_name] } style hash assignment. Closes #4440.Nicholas Seckar2006-06-2811-35/+35
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4502 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Mongrel support for script/server. Closes #5475.Jeremy Kemper2006-06-232-7/+56
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4486 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove some cruft from the framework:update:configs task and fix the ↵Rick Olson2006-06-211-3/+1
| | | | | | documentation. Closes #5300. [jeremy@planetargon.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4475 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include rails -v / rails --version in app generator usage. Closes #5440.Jeremy Kemper2006-06-201-1/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4471 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix script/plugin so it doesn't barf on invalid URLs [Rick]Rick Olson2006-06-121-6/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4450 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix plugin install bug at dir with space. (closes #5359) [Yoshimasa NIWA]Rick Olson2006-06-111-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4449 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix bug with 'script/plugin install' so it reports unknown plugin names ↵Rick Olson2006-06-091-1/+1
| | | | | | correctly. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4447 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Include uninstall.rb (closes #5003)David Heinemeier Hansson2006-06-061-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4440 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added uninstall.rb hook to plugin handling, such that plugins have a way of ↵David Heinemeier Hansson2006-06-032-0/+7
| | | | | | removing assets and other artifacts on removal (closes #5003) [takiuchi@drecom.co.jp] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4427 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Create temporary dirs relative to RAILS_ROOT when running script/server ↵David Heinemeier Hansson2006-06-031-1/+1
| | | | | | #5014 [elliot@townx.org] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4426 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* New routes implementation. Simpler, faster, easier to understand. The ↵Jamis Buck2006-06-011-1/+1
| | | | | | published API for config/routes.rb is unchanged, but nearly everything else is different, so expect breakage in plugins and libs that try to fiddle with routes. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4394 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make "script/plugin install" work with svn+ssh URLsSam Stephenson2006-05-311-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4383 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added lib/ to the directories that will get application docs generated [DHH]David Heinemeier Hansson2006-05-281-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4373 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add generator files...Marcel Molina2006-05-234-0/+43
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4365 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* preliminary support for plugin meta filesRick Olson2006-05-231-14/+50
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4362 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Session migration generator obeys pluralize_table_names. Closes #5145.Jeremy Kemper2006-05-223-5/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4360 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add modifications to database rake tasks as part of #5139. ↵Marcel Molina2006-05-211-3/+3
| | | | | | [schoenm@earthlink.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4356 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* rake test:recent understands subdirectories. Closes #2925.Jeremy Kemper2006-05-121-5/+20
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4337 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* The app generator detects the XAMPP package's MySQL socket location. Closes ↵Jeremy Kemper2006-05-121-1/+2
| | | | | | #3832. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4336 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* The app generator sets a session key in application.rb so apps running on ↵Jeremy Kemper2006-05-071-2/+3
| | | | | | the same host may distinguish their cookies. Closes #2967. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4328 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Distinguish the spawners for different processesDavid Heinemeier Hansson2006-05-021-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4324 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added -n/--process to script/process/spawner name the process pid (default ↵David Heinemeier Hansson2006-05-021-1/+1
| | | | | | is dispatch) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4323 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added -n/--process to script/process/spawner name the process pid (default ↵David Heinemeier Hansson2006-05-021-1/+3
| | | | | | is dispatch) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4322 5ecf4fe2-1ee6-0310-87b1-e25e094e27de