aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
Commit message (Collapse)AuthorAgeFilesLines
* Namespaced OrderedHash so the Rails implementation does not clash with any ↵Rick Olson2006-04-301-26/+15
| | | | | | others. (fixes #4911) [Julian Tarkhanov] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4318 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use reverse_each rather than reverse.each. [Marcel Molina Jr.]Marcel Molina2006-04-301-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4316 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Replace Ruby's deprecated append_features in favor of included. [Marcel ↵Marcel Molina2006-04-293-5/+3
| | | | | | Molina Jr.] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4310 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added script/process/inspector to do simple process status information on ↵David Heinemeier Hansson2006-04-282-4/+5
| | | | | | Rails dispatchers keeping pid files in tmp/pids [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4300 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Status in one lineDavid Heinemeier Hansson2006-04-281-9/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4299 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a simple process inspectorDavid Heinemeier Hansson2006-04-281-0/+68
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4298 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added pid file usage to script/process/spawner and script/process/reaper ↵David Heinemeier Hansson2006-04-284-87/+126
| | | | | | along with a directive in default config/lighttpd.conf file to record the pid. They will all save their pid file in tmp/pids [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4294 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Change the scaffolding layout to use yield rather than @content_for_layout.Marcel Molina2006-04-251-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4263 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Prepare for tiny release of 1.1.2David Heinemeier Hansson2006-04-091-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4202 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* RAILS_ROOT, pleaseDavid Heinemeier Hansson2006-04-071-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4199 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that boot.rb would set RAILS_GEM_VERSION twice, not respect an ↵David Heinemeier Hansson2006-04-071-2/+10
| | | | | | uncommented RAILS_GEM_VERSION line, and not use require_gem [DHH] Added rake rails:update:configs to update config/boot.rb from the latest (also included in rake rails:update) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4197 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Enhances plugin#discover allowing it to discover svn:// like URIs (closes ↵Rick Olson2006-04-061-6/+11
| | | | | | #4565) [ruben.nine@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4186 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update versions for Rails 1.1.1David Heinemeier Hansson2006-04-061-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4183 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that the -r/--ruby path option of the rails command was not being ↵David Heinemeier Hansson2006-04-061-3/+4
| | | | | | respected (closes #4549) [ryan.raaum@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4177 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that Dispatcher exceptions should not be shown to the user unless a ↵David Heinemeier Hansson2006-04-051-2/+20
| | | | | | default log has not been configured. Instead show public/500.html [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4168 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that rake clone_structure_to_test should quit on pgsql if the dump is ↵David Heinemeier Hansson2006-04-051-0/+1
| | | | | | unsuccesful (closes #4585) [augustz@augustz.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4166 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* A better idea, take the -qr HEAD log as before but use the root of the svnScott Barron2006-04-041-12/+7
| | | | | | | | | | instead of rails trunk. This allows svn 1.1.x (debian) to work with freeze edge out of the box, without having to specify REVISION. References #4356, #4450, #4569. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4155 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* If using svn 1.1.x and no REVISION is specified, give an error messageScott Barron2006-04-041-2/+9
| | | | | | | | | | to the user suggesting they use REVISION. References #4450 Closes #4569 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4154 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that rails --version should have the return code of 0 (success) ↵David Heinemeier Hansson2006-04-031-1/+1
| | | | | | (closes #4560) [blair@orcaware.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4145 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ever so lined upDavid Heinemeier Hansson2006-04-031-6/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4137 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that spawner should daemonize if running in repeat mode [DHH]David Heinemeier Hansson2006-04-032-3/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4135 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added TAG option for rake rails:freeze:edge, so you can say rake ↵David Heinemeier Hansson2006-04-031-10/+15
| | | | | | rails:freeze:edge TAG=rel_1-1-0 to lock to the 1.1.0 release [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4133 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use --simple-prompt instead of --prompt-mode simple for console ↵David Heinemeier Hansson2006-04-011-1/+1
| | | | | | compatibility with Windows/Ruby 1.8.2 #4532 [starr@starrnhorne.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4118 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added -f/--freeze option to rails command for freezing the application to ↵David Heinemeier Hansson2006-04-012-3/+7
| | | | | | the Rails version it was generated with [DHH] Fixed rake rails:freeze:gems (closes #4518) [benji@silverinsanity.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4115 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Specify gem version in environment.rbDavid Heinemeier Hansson2006-04-011-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4111 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make Rails::VERSION implicitly loadable. Closes #4491.Nicholas Seckar2006-04-011-0/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4110 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Teach Rails apps to only load gems of the same Rails version they were ↵Nicholas Seckar2006-04-011-1/+1
| | | | | | generated with. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4109 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rails 1.1.0 is realDavid Heinemeier Hansson2006-03-281-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4089 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Show usage description if no code is passed (closes #4447) [murphy@cYcnus.de]David Heinemeier Hansson2006-03-281-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4075 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update descriptionDavid Heinemeier Hansson2006-03-281-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4074 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow load_fixtures to load a subset of total fixture data. [Chad Fowler]Michael Koziarski2006-03-281-10/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4073 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't raise when the migration file is missing or it'll stop destroy model inScott Barron2006-03-261-1/+5
| | | | | | | | | the middle if there is no matching migration file. Closes #4426 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4057 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* When doing svn log -qr HEAD trunk/url, a log message with revision will notScott Barron2006-03-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | show if the last commit was not in the trunk/ path. For example, changeset [4045] is for scriptaculous, so the command executed by rails:freeze:edge: svn -qr HEAD log http://dev.rubyonrails.org/svn/rails/trunk Yields the following output: ------------------------------------------------------------------------ Causing the regex to bomb. Change the command to use --limit 1 instead of HEAD, which will pick up the last changeset against the trunk path. Fixes #4356 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4046 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont require rake to run the server, just have a little undryness instead ↵David Heinemeier Hansson2006-03-262-10/+3
| | | | | | (closes #4213) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4037 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Beef up the default test just a tadDavid Heinemeier Hansson2006-03-251-0/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4035 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* The Ruby path should be a string (closes #4361) [DHH]David Heinemeier Hansson2006-03-251-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4033 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add an integration test generatorJamis Buck2006-03-253-0/+34
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4027 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use example.com as standard (closes #4413) [anna]David Heinemeier Hansson2006-03-251-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4026 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't polute the top level namespace in the console with ActionView helpers. ↵Marcel Molina2006-03-231-2/+10
| | | | | | Make them available from a helper method. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4019 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make all ActionView helpers available in the console for debugging purposes.Marcel Molina2006-03-212-0/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4008 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* lighttpd.conf should use CWD so the config file is portable across systems, ↵David Heinemeier Hansson2006-03-201-3/+4
| | | | | | bad ulysses! ;) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4000 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Clearing doesnt need migrationsDavid Heinemeier Hansson2006-03-201-2/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3996 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Replaced old session rake tasks with db:sessions:create to generate a ↵Rick Olson2006-03-201-15/+6
| | | | | | migration, and db:sessions:clear to remove sessions. [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3995 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* My beautiful eyes [DHH]David Heinemeier Hansson2006-03-202-8/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3993 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Reject Ruby 1.8.3 when loading Rails; extract version checking code.Nicholas Seckar2006-03-192-1/+26
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3982 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove explicit loading of RailsInfo and RailsInfoController.Nicholas Seckar2006-03-192-127/+5
| | | | | | | | Move RailsInfo and RailsInfoController to Rails::Info and Rails::InfoController. Extend load path with Railties' builtin directory to make adding support code easy. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3981 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix RailsInfoController.Nicholas Seckar2006-03-191-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3980 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix for destroying migrations made when generating a model (closes #4246) ↵David Heinemeier Hansson2006-03-191-2/+5
| | | | | | [tomtoday@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3971 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed rails:freeze:gems for Windows (closes #3274) [paul@paulbutcher.com]David Heinemeier Hansson2006-03-191-10/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3963 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make generation of namespaced models produce proper migrations #4219 [Caio ↵David Heinemeier Hansson2006-03-181-2/+2
| | | | | | Chassot] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3947 5ecf4fe2-1ee6-0310-87b1-e25e094e27de