Commit Graph

882 Commits

Author SHA1 Message Date
Jeremy Kemper
8b89bd779a Mongrel support for script/server. Closes #5475.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4486 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-23 22:32:10 +00:00
Rick Olson
441bba8091 Remove some cruft from the framework:update:configs task and fix the documentation. Closes #5300. [jeremy@planetargon.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4475 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-21 02:11:59 +00:00
Jeremy Kemper
7a101c1fc3 Include rails -v / rails --version in app generator usage. Closes #5440.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4471 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-20 18:00:32 +00:00
Rick Olson
c638d9401b Fix script/plugin so it doesn't barf on invalid URLs [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4450 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-12 16:07:58 +00:00
Rick Olson
bdc1033d20 Fix plugin install bug at dir with space. (closes #5359) [Yoshimasa NIWA]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4449 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-11 17:17:32 +00:00
Rick Olson
cf6654318c Fix bug with 'script/plugin install' so it reports unknown plugin names correctly. [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4447 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-09 02:08:26 +00:00
David Heinemeier Hansson
d3bb2e5236 Include uninstall.rb (closes #5003)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4440 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-06 15:44:11 +00:00
David Heinemeier Hansson
59432fe89b Added uninstall.rb hook to plugin handling, such that plugins have a way of 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
2006-06-03 22:26:44 +00:00
David Heinemeier Hansson
68e35f1371 Create temporary dirs relative to RAILS_ROOT when running script/server #5014 [elliot@townx.org]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4426 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-03 22:22:50 +00:00
Jamis Buck
b20c575ac0 New routes implementation. Simpler, faster, easier to understand. The 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
2006-06-01 15:42:08 +00:00
Sam Stephenson
e7fe1c47ba Make "script/plugin install" work with svn+ssh URLs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4383 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-05-31 18:06:50 +00:00
David Heinemeier Hansson
8498c74a99 Expanded :method option in FormTagHelper#form_tag, FormHelper#form_for, PrototypeHelper#remote_form_for, PrototypeHelper#remote_form_tag, and PrototypeHelper#link_to_remote to allow for verbs other than GET and POST by automatically creating a hidden form field named _method, which will simulate the other verbs over post [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4376 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-05-29 00:05:41 +00:00
David Heinemeier Hansson
d84ba8b8a9 Added lib/ to the directories that will get application docs generated [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4373 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-05-28 23:05:08 +00:00
Marcel Molina
3115c425a0 Add generator files...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4365 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-05-23 17:15:15 +00:00
Marcel Molina
5108fa87af Add observer generator. Closes #5167. [francois.beausoleil@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4364 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-05-23 17:14:23 +00:00
Rick Olson
9bfcfa8d8f preliminary support for plugin meta files
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4362 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-05-23 06:34:25 +00:00
Jeremy Kemper
3de8239a7c Session migration generator obeys pluralize_table_names. Closes #5145.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4360 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-05-22 21:09:47 +00:00
Marcel Molina
738c43c549 Add modifications to database rake tasks as part of #5139. [schoenm@earthlink.net]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4356 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-05-21 20:17:22 +00:00
David Heinemeier Hansson
fa207c2446 Disabling sessions is not a common day event
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4352 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-05-21 16:51:46 +00:00
Jeremy Kemper
942132bda2 rake test:recent understands subdirectories. Closes #2925.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4337 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-05-12 04:41:23 +00:00
Jeremy Kemper
a61c1825ab The app generator detects the XAMPP package's MySQL socket location. Closes #3832.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4336 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-05-12 04:06:41 +00:00
Jeremy Kemper
0adcd811f9 The app generator sets a session key in application.rb so apps running on 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
2006-05-07 08:28:42 +00:00
David Heinemeier Hansson
e012304175 Distinguish the spawners for different processes
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4324 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-05-02 22:39:48 +00:00
David Heinemeier Hansson
2b0a1f4a21 Added -n/--process to script/process/spawner name the process pid (default is dispatch) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4323 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-05-02 22:32:45 +00:00
David Heinemeier Hansson
d1d8657ea6 Added -n/--process to script/process/spawner name the process pid (default is dispatch) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4322 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-05-02 22:18:20 +00:00
David Heinemeier Hansson
ff0b76613a Make the inspector work on debian (closes #4935) [Lars pind]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4320 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-05-01 17:28:55 +00:00
Rick Olson
325cb1269c Namespaced OrderedHash so the Rails implementation does not clash with any others. (fixes #4911) [Julian Tarkhanov]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4318 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-30 20:36:37 +00:00
Marcel Molina
4daf2c1ee6 Use reverse_each rather than reverse.each. [Marcel Molina Jr.]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4316 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-30 08:06:45 +00:00
Marcel Molina
6186490962 Replace Ruby's deprecated append_features in favor of included. [Marcel Molina Jr.]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4310 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-29 18:10:14 +00:00
David Heinemeier Hansson
b792945e39 Added script/process/inspector to do simple process status information on 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
2006-04-28 03:56:30 +00:00
David Heinemeier Hansson
de69de10de Status in one line
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4299 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-28 03:46:17 +00:00
David Heinemeier Hansson
4a218de694 Added a simple process inspector
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4298 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-28 03:15:31 +00:00
David Heinemeier Hansson
7a8ed3bbbf Added pid file usage to script/process/spawner and script/process/reaper 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
2006-04-28 00:00:50 +00:00
Marcel Molina
94e3e22eb8 Mention in docs that config.frameworks doesn't work when getting Rails via Gems. Closes #4857. [Alisdair McDiarmid]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4278 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-26 19:29:35 +00:00
Marcel Molina
abc2dba1ed Change the scaffolding layout to use yield rather than @content_for_layout.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4263 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-25 05:16:22 +00:00
David Heinemeier Hansson
06dd5d9c7f Its 2006, not 2005
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4216 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-16 19:10:05 +00:00
David Heinemeier Hansson
98634e7761 Use Aras RubyForge uploader
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4204 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-09 22:14:08 +00:00
David Heinemeier Hansson
00050dfedb Include the calculations fix for a new release of AR
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4203 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-09 21:27:32 +00:00
David Heinemeier Hansson
4d078c87f4 Prepare for tiny release of 1.1.2
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4202 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-09 21:09:45 +00:00
David Heinemeier Hansson
bbbe4247a5 RAILS_ROOT, please
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4199 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-07 18:29:43 +00:00
David Heinemeier Hansson
c077a7308e Fixed that boot.rb would set RAILS_GEM_VERSION twice, not respect an 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
2006-04-07 18:21:52 +00:00
Nicholas Seckar
7d3092478c Don't match commented out RAILS_GEM_VERSIONs.
Avoid "Constant already defined" warnings for RAILS_GEM_VERSION.


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4196 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-07 17:48:47 +00:00
David Heinemeier Hansson
496725022a Fixed that template extensions would be cached development mode #4624 [Stefan Kaes]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4189 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-06 18:08:31 +00:00
Rick Olson
9935a3561e Enhances plugin#discover allowing it to discover svn:// like URIs (closes #4565) [ruben.nine@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4186 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-06 15:31:41 +00:00
David Heinemeier Hansson
944ae628f5 Update versions for Rails 1.1.1
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4183 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-06 05:26:14 +00:00
Sam Stephenson
26e381302c Update to Prototype 1.5.0_rc0
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4182 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-06 04:57:14 +00:00
David Heinemeier Hansson
0f0d926def Fixed that the -r/--ruby path option of the rails command was not being respected (closes #4549) [ryan.raaum@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4177 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-06 03:17:42 +00:00
David Heinemeier Hansson
11323ceb28 Added that Dispatcher exceptions should not be shown to the user unless a 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
2006-04-05 04:52:31 +00:00
David Heinemeier Hansson
3d99d33a64 Fixed that rake clone_structure_to_test should quit on pgsql if the dump is unsuccesful (closes #4585) [augustz@augustz.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4166 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-05 03:15:50 +00:00
David Heinemeier Hansson
203bfb2531 Note difference between fcgis
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4165 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-05 03:10:13 +00:00