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
Scott Barron
6b3bc1bc52
A better idea, take the -qr HEAD log as before but use the root of the svn
...
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
2006-04-04 17:44:34 +00:00
Scott Barron
fb8428fe0d
If using svn 1.1.x and no REVISION is specified, give an error message
...
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
2006-04-04 17:00:17 +00:00
David Heinemeier Hansson
c66b44e76d
Reformatted for better readability [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4153 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-04 16:58:23 +00:00
David Heinemeier Hansson
46796e74cf
Fixed that rails --version should have the return code of 0 (success) ( closes #4560 ) [blair@orcaware.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4145 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-03 22:39:36 +00:00
Nicholas Seckar
bf109cacf1
Install alias so Rails::InfoController is accessible at /rails_info. Closes #4546 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4138 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-03 05:15:29 +00:00
David Heinemeier Hansson
462c9176a8
Ever so lined up
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4137 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-03 03:34:53 +00:00
David Heinemeier Hansson
f966c279cf
Fixed that spawner should daemonize if running in repeat mode [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4135 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-03 03:03:33 +00:00
David Heinemeier Hansson
0b167dd863
Show tag properly in about
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4134 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-03 02:46:22 +00:00
David Heinemeier Hansson
802493ca6d
Added TAG option for rake rails:freeze:edge, so you can say rake 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
2006-04-03 02:38:12 +00:00
David Heinemeier Hansson
eefc22fa95
Fix rails info for when js is off ( closes #4472 ) [erik@codefaktor.de]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4126 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-01 22:28:46 +00:00
Thomas Fuchs
bb2276098a
Applied Prototype $() performance patches ( #4465 , #4477 ) and updated script.aculo.us [Sam Stephenson, Thomas Fuchs]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4122 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-01 19:47:31 +00:00
David Heinemeier Hansson
584bec967b
railties Rakefile refers to old rails_version.rb location ( closes #4530 ) [wilsonb@gmail.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4119 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-01 19:09:27 +00:00
David Heinemeier Hansson
ebc0a38d40
Use --simple-prompt instead of --prompt-mode simple for console 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
2006-04-01 19:08:04 +00:00
David Heinemeier Hansson
d08f838c0e
Added -f/--freeze option to rails command for freezing the application to 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
2006-04-01 06:29:32 +00:00
Nicholas Seckar
237cc945bb
Exit when no gem is found; expand on error message
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4114 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-01 06:22:57 +00:00
Nicholas Seckar
b7a051182c
Remove explicit require of departed file.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4113 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-01 06:18:33 +00:00
Nicholas Seckar
b227e7e71d
Remove explicit require of departed file.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4112 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-01 06:17:50 +00:00
David Heinemeier Hansson
53e1e50e04
Specify gem version in environment.rb
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4111 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-01 05:55:47 +00:00
Nicholas Seckar
a09b202e83
Make Rails::VERSION implicitly loadable. Closes #4491 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4110 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-01 05:49:19 +00:00
Nicholas Seckar
c10a2d2475
Teach Rails apps to only load gems of the same Rails version they were generated with.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4109 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-01 04:58:46 +00:00
David Heinemeier Hansson
0703149e71
Fixed broken OCIAdapter ( closes #4457 ) [schoenm@earthlink.net]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4100 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-30 03:38:15 +00:00
Nicholas Seckar
23fa0395d8
Fix Rails info controller for postgres; Closes #4469 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4097 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-29 15:11:47 +00:00
David Heinemeier Hansson
b583d23f95
Added gzip compression for JavaScript, CSS, and HTML to default lighttpd.conf [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4096 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-29 00:14:05 +00:00
David Heinemeier Hansson
e569048441
Rails 1.1.0 is real
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4089 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-28 05:09:07 +00:00
David Heinemeier Hansson
479b4fb5d9
Made ready for release
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4088 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-28 05:03:05 +00:00
Marcel Molina
4e3c101bcb
Add 1.0 marker to edge rails changelongs
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4085 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-28 04:05:08 +00:00
David Heinemeier Hansson
3e734490c6
Make release rake work on 1.8.4
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4077 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-28 02:10:51 +00:00
David Heinemeier Hansson
e7db36bd8e
Show usage description if no code is passed ( closes #4447 ) [murphy@cYcnus.de]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4075 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-28 01:47:16 +00:00
David Heinemeier Hansson
31199a9e4a
Update description
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4074 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-28 01:11:09 +00:00
Michael Koziarski
66f546644b
Allow load_fixtures to load a subset of total fixture data. [Chad Fowler]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4073 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-28 00:59:55 +00:00
Thomas Fuchs
1cc2f5ce9f
Speedup for sortable with handles initialization in rails trunk too
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4068 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-27 08:14:02 +00:00
Sam Stephenson
b8e23e37dd
Update to Prototype 1.5.0_pre1
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4063 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-27 05:47:17 +00:00
Scott Barron
8935209629
Don't raise when the migration file is missing or it'll stop destroy model in
...
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
2006-03-26 22:15:19 +00:00
Thomas Fuchs
77c8e3a0fd
effects.js and controls.js fixes
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4053 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-26 20:28:05 +00:00
Scott Barron
c954a5b9a0
When doing svn log -qr HEAD trunk/url, a log message with revision will not
...
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
2006-03-26 16:12:48 +00:00
Thomas Fuchs
3bcb0b80b1
one too many
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4044 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-26 08:40:49 +00:00
Thomas Fuchs
34db8e8939
Update to script.aculo.us 1.6
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4043 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-26 08:37:19 +00:00
David Heinemeier Hansson
45e59c8a51
Dont require rake to run the server, just have a little undryness instead ( closes #4213 ) [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4037 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-26 03:29:09 +00:00
David Heinemeier Hansson
c3c39b5cb6
Beef up the default test just a tad
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4035 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-25 23:45:28 +00:00
David Heinemeier Hansson
0a5b8328b9
The Ruby path should be a string ( closes #4361 ) [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4033 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-25 23:32:08 +00:00
David Heinemeier Hansson
1d79a17c25
ST is Cap ( closes #4214 )
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4030 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-25 21:57:08 +00:00
Jamis Buck
4b66180cca
Add an integration test generator
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4027 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-25 19:57:03 +00:00
David Heinemeier Hansson
9326222941
Use example.com as standard ( closes #4413 ) [anna]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4026 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-25 19:43:40 +00:00
Marcel Molina
cb069ea7cc
Don't polute the top level namespace in the console with ActionView helpers. Make them available from a helper method.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4019 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-23 21:56:38 +00:00
Marcel Molina
330823687b
Make all ActionView helpers available in the console for debugging purposes.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4008 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-21 20:07:41 +00:00
David Heinemeier Hansson
4941475069
Turn RJS debugging on by default and show the source code when an exception is caught [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4003 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-20 07:19:27 +00:00
David Heinemeier Hansson
89c0ab6b82
Added sample named route [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4001 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-20 06:20:18 +00:00
David Heinemeier Hansson
925d149b3c
lighttpd.conf should use CWD so the config file is portable across systems, bad ulysses! ;)
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4000 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-20 06:17:55 +00:00
David Heinemeier Hansson
c4d6b8bb3c
Dont line up that which does not
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3999 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-20 06:13:26 +00:00
David Heinemeier Hansson
f340df798e
Clearing doesnt need migrations
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3996 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-20 05:49:19 +00:00
Rick Olson
30c42b21b3
Replaced old session rake tasks with db:sessions:create to generate a 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
2006-03-20 05:45:22 +00:00
David Heinemeier Hansson
faecde0ec8
My beautiful eyes [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3993 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-20 05:39:13 +00:00
David Heinemeier Hansson
6f8c99fa34
Update docs and index.html [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3992 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-20 05:14:28 +00:00
Nicholas Seckar
48e7edc31b
Reject Ruby 1.8.3 when loading Rails; extract version checking code.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3982 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-19 18:55:31 +00:00
Nicholas Seckar
5ff59bff82
Remove explicit loading of RailsInfo and RailsInfoController.
...
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
2006-03-19 18:45:26 +00:00
Nicholas Seckar
b42195cdb7
Fix RailsInfoController.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3980 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-19 18:21:06 +00:00
David Heinemeier Hansson
83fa114e51
Rails is not compatible with Ruby 1.8.3, explicitly prevent usage [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3975 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-19 16:55:16 +00:00
David Heinemeier Hansson
5f4f4b03f2
Fix for destroying migrations made when generating a model ( closes #4246 ) [tomtoday@gmail.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3971 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-19 06:06:20 +00:00
David Heinemeier Hansson
8463cd646e
Fixed rails:freeze:gems for Windows ( closes #3274 ) [paul@paulbutcher.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3963 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-19 01:34:14 +00:00
David Heinemeier Hansson
f6786f8dcc
Make generation of namespaced models produce proper migrations #4219 [Caio Chassot]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3947 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-18 21:20:29 +00:00
David Heinemeier Hansson
74f02246ca
Doc fix ( closes #4210 ) [Caio Chassot ]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3946 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-18 21:19:01 +00:00
David Heinemeier Hansson
a79344130b
Doc fix ( closes #4209 ) [Caio Chassot]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3945 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-18 21:18:06 +00:00
David Heinemeier Hansson
69fbdb9afb
use cleanpath of config file in lighttpd server script ( closes #4203 ) [Caio Chassot]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3942 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-18 20:27:48 +00:00
David Heinemeier Hansson
8bf987140a
Added 'port open?' check to the spawner when running in repeat mode so we don't needlessly boot the dispatcher if the port is already in use anyway #4089 [guy.naor@famundo.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3938 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-18 19:21:54 +00:00
David Heinemeier Hansson
aced2863f0
Fix the detach option for lighttp ( closes #4097 ) [schultzr@gmail.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3933 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-18 17:00:40 +00:00
David Heinemeier Hansson
fddd33b81e
Do not include .svn files in file distro ( closes #3195 ) [jamie@dang.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3930 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-18 16:32:11 +00:00
Jamis Buck
36ea93e4b9
rename 'integration_test.rb' -> 'integration.rb'
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3923 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-18 14:27:36 +00:00
David Heinemeier Hansson
f1a350a05c
Testing of uncommited should test controllers too ( closes #4265 ) [technomancy@gmail.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3920 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-18 06:47:46 +00:00
Michael Koziarski
c6abe81b1e
Add verification to scaffolds (generated and reflection based). Require POST for unsafe actions [Michael Koziarski]. Closes #2601
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3864 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-14 01:57:12 +00:00
Tobias Lütke
e9d6fea533
Don't replace application.js in public/javascripts if it already exists [Cody Fauser]. Closes #4195
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3863 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-13 18:45:40 +00:00
Nicholas Seckar
c07c48d10a
Delay rake:uncommitted's execution of svn status
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3857 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-13 03:21:09 +00:00
David Heinemeier Hansson
955583aed4
Prefer application/xml over text/xml for charset reasons
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3855 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-13 02:05:59 +00:00
Sam Stephenson
c5d5c4f708
Use require_library_or_gem to load rake in commands/server.rb. Closes #4205 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3851 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-12 23:00:28 +00:00
Sam Stephenson
e3ea34f7d3
Use the Rake API instead of shelling out to create the tmp directory in commands/server.rb
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3848 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-12 17:04:33 +00:00
David Heinemeier Hansson
de37f7df4f
Mime types are separated by a comma, not semicolon, in the Accept header. Also switch all internal configuration of mime types away from strings and over to Mime::Type [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3847 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-12 16:03:44 +00:00
David Heinemeier Hansson
3a90c31a56
Use accept headers
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3845 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-12 06:04:03 +00:00
Thomas Fuchs
130001c377
Update to latest script.aculo.us trunk, fixes possible issue with Effect.Appear on IE
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3824 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-09 09:59:29 +00:00
Rick Olson
e320f28945
Make the 3rd arg optional for #failsafe_response
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3815 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-08 14:33:07 +00:00
Rick Olson
31a499ac27
Added a backtrace to the evil WSOD (White Screen of Death). Closes #4073 . TODO: Clearer exceptions [Rick Olson]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3809 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-07 07:27:54 +00:00
David Heinemeier Hansson
08967ead78
Allow method chaining in RJS elements [Rick Olson]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3801 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-06 19:45:02 +00:00
Sam Stephenson
382741f289
Update Prototype for beta gems
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3795 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-06 17:33:25 +00:00
David Heinemeier Hansson
2f9442c1d4
Added tracking of database and framework versions in script/about #4088 [charles.gerungan@gmail.com/Rick Olson]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3783 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-05 21:38:51 +00:00
Jamis Buck
b8134000c4
Silence the migration messages when importing the schema for tests
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3781 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-05 20:11:08 +00:00
David Heinemeier Hansson
3c756f85be
Dont mkdir for each framework now that theyre checked out in their entirety
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3779 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-05 19:29:40 +00:00
David Heinemeier Hansson
84b8920a11
Dont generate migration when doing scaffolding
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3775 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-05 17:17:27 +00:00
David Heinemeier Hansson
5afbffdd95
Migrations created alongside models should be called CreateModels not AddModels for consistency with the create/drop notion of tables [Dave Thomas]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3771 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-05 00:45:19 +00:00
David Heinemeier Hansson
045f5fd02e
Added public/javascripts/application.js as a sample since it'll automatically be included in javascript_include_tag :defaults [DHH] (backed out of -a/--with-assets, not worth it)
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3770 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-04 23:53:41 +00:00
David Heinemeier Hansson
fc7e06f3e0
Words of caution
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3765 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-04 21:34:59 +00:00
David Heinemeier Hansson
b339170271
Added -a/--with-assets option to rails generator that will include default assets for application layout, javascript, and stylesheet [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3764 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-04 21:30:14 +00:00
David Heinemeier Hansson
b059ceb94f
Migrations should use symbols now that the schema dumper is switching to that as well [Suggested by Robby Russel]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3763 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-04 20:08:01 +00:00
David Heinemeier Hansson
eb01d35109
Added socket cleanup for lighttpd, both before and after [DHH] Added automatic creation of tmp/ when running script/server [DHH] Added silence_stream that'll work on both STDERR or STDOUT or any other stream and deprecated silence_stderr in the process [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3761 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-04 19:39:26 +00:00
David Heinemeier Hansson
bfaf71cbc2
We need to silence_stderr on the call to svn in order not to get errors when svn is not available or the app is not checked in
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3759 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-04 18:04:55 +00:00
David Heinemeier Hansson
e3bfd08cbc
Fixed Effect.Appear in effects.js to work with floats in Safari ( closes #3524 , #3813 , #3044 ) [Thomas Fuchs]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3757 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-04 17:12:03 +00:00
Jamis Buck
c0d2477886
remove explicit dependency mechanism setting in console_app
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3755 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-03 21:24:39 +00:00
David Heinemeier Hansson
711ce826a7
Fixed type ( closes #3999 )
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3751 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-03 03:21:13 +00:00
David Heinemeier Hansson
94725b02bc
Added reload! method to script/console to reload all models and others that include Reloadable without quitting the console ( closes #4056 ) [esad@esse.at]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3749 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-03 03:00:55 +00:00
David Heinemeier Hansson
e9d6429ad3
Added that rake rails:freeze:edge will now just export all the contents of the frameworks instead of just lib, so stuff like rails:update:scripts, rails:update:javascripts, and script/server on lighttpd still just works ( closes #4047 ) [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3748 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-03 02:54:30 +00:00
David Heinemeier Hansson
7864d0e012
Added fix for upload problems with lighttpd from Safari/IE to config/lighttpd.conf ( closes #3999 ) [thijs@fngtps.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3743 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-02 02:56:26 +00:00
David Heinemeier Hansson
8fdb4bc8f6
Added test:uncommitted to test changes since last checkin to Subversion ( closes #4035 ) [technomancy@gmail.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3733 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-02 00:17:53 +00:00
Jeremy Kemper
2b02596b96
Clear stale, cached connections left behind by defunct threads. Eliminate duplicate connection cache.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3730 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-01 22:08:00 +00:00
Jeremy Kemper
9ded584ec3
Help script/about print the correct svn revision when in a non-English locale. Closes #4026 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3723 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-01 16:30:09 +00:00
Jamis Buck
32e0bebbb9
Use require instead of load with the integration stuff. Add helper method for creating new sessions.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3721 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-01 16:22:26 +00:00
David Heinemeier Hansson
6f9ac79011
Update old alias too
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3720 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-01 16:13:33 +00:00
Scott Barron
9fcbd37d9c
When freezing to edge, we should also export railties/bin and railties/html so
...
that rails:update:scripts and rails:update:javascripts still function.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3719 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-01 16:02:50 +00:00
David Heinemeier Hansson
631181ca18
Renamed the "oci" adapter to "oracle", but kept the old name as an alias ( closes #4017 ) [schoenm@earthlink.net]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3718 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-01 16:01:53 +00:00
Jamis Buck
7056fc6782
Add 'app' accessor to script/console as an instance of Integration::Session
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3717 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-01 15:52:40 +00:00
David Heinemeier Hansson
8adaf10eca
Match singular naming from directory structure [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3713 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-28 22:40:19 +00:00
David Heinemeier Hansson
8995483106
Guard against app generation if the database specified isnt supported for preconfiguration [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3711 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-28 21:01:10 +00:00
Jeremy Kemper
a974b9e3c2
Generator::Base#usage takes an optional message argument which defaults to Generator::Base#usage_message.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3710 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-28 20:58:29 +00:00
David Heinemeier Hansson
ba8a7bbf4d
Stop annoying me when Im changing fixtures for other tests first
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3709 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-28 20:42:42 +00:00
David Heinemeier Hansson
9ad6e1a628
Various problems with in-memory sqlite dbs
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3704 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-28 19:43:34 +00:00
Jeremy Kemper
e6b848b8c6
Remove the extraneous AR::Base.threaded_connections setting from the webrick server.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3703 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-28 19:10:08 +00:00
Jamis Buck
1a91abe645
Add integration test support to app generation and testing
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3702 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-28 18:57:32 +00:00
David Heinemeier Hansson
c62c392289
Make clearing follow the object:action naming of the rest of the tasks
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3699 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-28 16:35:29 +00:00
David Heinemeier Hansson
14a8782e4f
Make clearing follow the object:action naming of the rest of the tasks
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3698 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-28 16:34:16 +00:00
David Heinemeier Hansson
1c59702464
Make clearing follow the object:action naming of the rest of the tasks
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3697 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-28 16:28:11 +00:00
Jeremy Kemper
3cfea287ba
Speed up class -> connection caching and stale connection verification. Closes #3979 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3693 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-27 21:37:30 +00:00
David Heinemeier Hansson
418a7af455
Rails now depend on Rake 0.7.x
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3692 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-27 20:54:11 +00:00
David Heinemeier Hansson
abe5b1573e
Load, not dump, schema to test
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3686 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-27 06:03:50 +00:00
David Heinemeier Hansson
4df3554e8f
Include functionals in default test run
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3684 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-27 05:20:48 +00:00
David Heinemeier Hansson
985cb44110
Added namespaces to all tasks, so for example load_fixtures is now db:fixtures:load. All the old task names are still valid, they just point to the new namespaced names. "rake -T" will only show the namespaced ones, though [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3680 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-27 04:38:39 +00:00
David Heinemeier Hansson
660952e5b0
CHANGED DEFAULT: ActiveRecord::Base.schema_format is now :ruby by default instead of :sql. This means that we'll assume you want to live in the world of db/schema.rb where the grass is green and the girls are pretty. If your schema contains un-dumpable elements, such as constraints or database-specific column types, you just got an invitation to either 1) patch the dumper to include foreign key support, 2) stop being db specific, or 3) just change the default in config/environment.rb to config.active_record.schema_format = :sql -- we even include an example for that on new Rails skeletons now. Brought to you by the federation of opinionated framework builders! [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3678 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-27 00:23:49 +00:00
David Heinemeier Hansson
09f89c4abf
Added -r/--repeat option to script/process/spawner that offers the same loop protection as the spinner did. This deprecates the script/process/spinner, so it's no longer included in the default Rails skeleton, but still available for backwards compatibility ( closes #3461 ) [ror@andreas-s.net]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3672 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-26 20:25:24 +00:00
Nicholas Seckar
26eaf073c4
Remove ::Controllers related cruft; fix AP tests
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3668 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-26 17:49:09 +00:00
Nicholas Seckar
55bb615f10
Update duplicated OrderedOptions code.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3664 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-26 01:56:09 +00:00
David Heinemeier Hansson
647130d7ff
Added collision option to template generation in generators ( closes #3329 ) [anna@wota.jp]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3663 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-26 01:12:58 +00:00
David Heinemeier Hansson
ff7be746e0
Added more information to script/plugin's doings to ease debugging #3755 [Rick Olson]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3657 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-26 00:37:11 +00:00
David Heinemeier Hansson
67a978be5d
rake appdoc fails with unrecognized option ( closes #3757 ) [Jakob S]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3649 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-25 23:27:41 +00:00
David Heinemeier Hansson
1aea4704dc
Added tmp/sessions, tmp/cache, and tmp/sockets as default directories in the Rails skeleton [DHH] Changed the default session configuration to place sessions in tmp/sessions, if that directory is available, instead of /tmp (this essentially means a goodbye to 9/10 White Screen of Death errors and should have web hosting firms around the world cheering) [DHH] Added a default configuration of the FileStore for fragment caching if tmp/cache is available, which makes action/fragment caching ready to use out of the box with no additional configuration [DHH] Changed the default configuration for lighttpd to use tmp/sockets instead of log/ for the FastCGI sockets [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3645 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-25 20:26:14 +00:00
David Heinemeier Hansson
63f188ceb0
Added that script/generate model will now automatically create a migration file for the model created. This can be turned off by calling the generator with --skip-migration [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3644 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-25 19:13:04 +00:00
David Heinemeier Hansson
ef338e4de4
Prepare order for uncommenting, use consistent opt options [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3643 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-25 18:52:52 +00:00
David Heinemeier Hansson
290983be31
Added -d/--database option to the rails command, so you can do "rails --database=sqlite2 myapp" to start a new application preconfigured to use SQLite2 as the database. Removed the configuration examples from SQLite and PostgreSQL from the default MySQL configuration [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3642 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-25 18:41:13 +00:00
Jeremy Kemper
09993a6073
Allow script/server -c /path/to/lighttpd.conf
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3641 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-23 21:47:34 +00:00
Jeremy Kemper
5452383174
Remove hardcoded path to reaper script in script/server.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3638 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-22 22:43:43 +00:00
Thomas Fuchs
bb7408fd4c
Update script.aculo.us to V1.5.3 [Thomas Fuchs]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3634 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-22 09:59:22 +00:00
David Heinemeier Hansson
03acf48817
Added SIGTRAP signal handler to RailsFCGIHandler that'll force the process into a breakpoint after the next request. This breakpoint can then be caught with script/breakpointer and give you access to the Ruby image inside that process. Useful for debugging memory leaks among other things [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3618 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-19 06:25:47 +00:00
David Heinemeier Hansson
63a95167e8
Also use CWD on document_root ( closes #3883 ) [grant@antiflux.org]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3616 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-19 04:05:27 +00:00
David Heinemeier Hansson
1e216b1d84
Updated RDocTask to receive options 1 by 1 ( closes #3875 ) [pterjan@mandriva.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3605 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-19 00:43:10 +00:00
Thomas Fuchs
e8c4cc9503
Update script.aculo.us in Rails trunk to V1.5.2
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3595 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-14 10:29:12 +00:00
David Heinemeier Hansson
b230004897
Changed default lighttpd.conf to use CWD from lighttpd 1.4.10 that allows the same configuration to be used for both detach and not. Also ensured that auto-repeaping of FCGIs only happens when lighttpd is not detached. [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3585 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-12 17:41:53 +00:00
Sam Stephenson
838ec413eb
Add JavaScriptGenerator#replace_element for replacing an element's "outer HTML". Closes #3246 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3579 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-12 01:30:13 +00:00
Michael Koziarski
49fad6e6d5
Add Configuration#after_initialize for specifying a block to be executed after the framework is completely initialized.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3547 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-07 00:21:45 +00:00
David Heinemeier Hansson
0633bb865b
Update versions to match latest from stable
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3543 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-05 00:59:57 +00:00
Nicholas Seckar
ad9cabd77c
Remove LoadingModule
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3526 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-03 20:29:39 +00:00
Nicholas Seckar
6d7b0374d1
Add LoadingModule.clear! back temporarily
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3524 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-02 16:56:15 +00:00
Nicholas Seckar
4bb6f863b4
Pluralization bites again
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3520 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-02 05:08:42 +00:00
Nicholas Seckar
7a43a05a2b
Further improvements to reloading code
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3519 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-02 04:54:07 +00:00
David Heinemeier Hansson
f8bcfa6e04
Added check for RAILS_FRAMEWORK_ROOT constant that allows the Rails framework to be found in a different place than vendor/rails. Should be set in boot.rb. [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3496 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-30 04:08:05 +00:00
David Heinemeier Hansson
01b1a87729
Added reusable reloading support through the inclusion of the Relodable module that all subclasses of ActiveRecord::Base, ActiveRecord::Observer, ActiveController::Base, and ActionMailer::Base automatically gets [DHH]. Added auto-loading support for classes in modules, so Conductor::Migration will look for conductor/migration.rb and Conductor::Database::Settings will look for conductor/database/settings.rb [Nicholas Seckar]. Refactored extensions to module, class, and object in active support [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3493 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-29 00:37:39 +00:00
David Heinemeier Hansson
13cd6135cd
Fixed that static requests could unlock the mutex guarding dynamic requests in the WEBrick servlet ( closes #3433 ) [tom@craz8.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3455 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-21 23:38:51 +00:00
David Heinemeier Hansson
fab2fd6398
Fixed that static requests could unlock the mutex guarding dynamic requests in the WEBrick servlet ( closes #3433 ) [tom@craz8.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3454 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-21 23:38:41 +00:00
David Heinemeier Hansson
3c8dbcbdf9
Fixed documentation tasks to work with Rake 0.7.0 ( closes #3563 ) [kazuhiko@fdiary.net]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3451 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-21 23:14:10 +00:00
Sam Stephenson
f0650c51cc
Get the version right: 1.5.0_pre0, not rc0
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3436 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-18 23:19:47 +00:00
Sam Stephenson
75784f6bcc
Update to Prototype 1.5.0_rc0
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3435 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-18 23:14:47 +00:00
Michael Koziarski
88dae72202
Load plugins in a consistent order. Closes #3429
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3420 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-14 09:15:34 +00:00
Michael Koziarski
32f89dc10b
Show usage when script/plugin is called without arguments. Closes #3450
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3419 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-14 09:00:48 +00:00
Michael Koziarski
f9e0ba2913
Correct the case of the CSS declarations. [Blair Zajac] Closes #3171
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3416 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-13 21:28:51 +00:00
Michael Koziarski
35c50bf938
Fix problems with the plugin loader where plugins could override 'name' and prevent loading. Closes #3297
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3414 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-13 09:40:05 +00:00
Marcel Molina
30c6bd9b31
Make migration generator only report on exact duplicate names, not partial dupliate names. Closes #3442 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3413 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-13 09:26:53 +00:00
Marcel Molina
d40af24e20
Fix typo in mailer generator USAGE. Closes #3458 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3411 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-13 08:31:07 +00:00
Marcel Molina
16e41c6b75
Ignore version mismatch between pg_dump and the database server. Closes #3457 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3400 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-13 01:29:28 +00:00
Sam Stephenson
6fbedf2e31
Show a message on script/server exit before reaping FCGIs
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3399 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-13 01:10:32 +00:00
Sam Stephenson
7fbfc5ab61
Reap FCGI processes after lighttpd exits
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3398 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-12 23:57:44 +00:00
Tobias Lütke
7ff73dfe73
fix for Initializer doc, routing is loaded last so that plugins can extend it
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3395 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-11 17:36:22 +00:00
David Heinemeier Hansson
10cf9ecafc
Added assignment of the Autocompleter object created by JavaScriptMacroHelper#auto_complete_field to a local javascript variables [DHH] Added :on option for PrototypeHelper#observe_field that allows you to specify a different callback hook to have the observer trigger on [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3378 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-03 04:11:51 +00:00
David Heinemeier Hansson
d7487fffe5
Made Field.focus in prototype friendly to effects by adding optional delay parameter [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3366 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-31 04:14:07 +00:00
Thomas Fuchs
1455697ee8
Update to script.aculo.us to 1.5.0 rev. 3343
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3349 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-25 18:23:25 +00:00
David Heinemeier Hansson
cfb0babec3
Added :select option for JavaScriptMacroHelper#auto_complete_field that makes it easier to only use part of the auto-complete suggestion as the value for insertion [Thomas Fuchs]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3348 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-24 22:58:33 +00:00
Marcel Molina
56234bee14
Honor ActiveRecord::Base.pluralize_table_names when creating and destroying session store table. Closes #3204 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3317 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-18 20:20:49 +00:00
Thomas Fuchs
fc4ffbdc69
Update trunk to scriptaculous 1.5 final
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3301 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-13 18:41:58 +00:00
Sam Stephenson
a5a54ae9e3
Update to Prototype 1.4.0 final
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3297 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-13 17:51:17 +00:00
Marcel Molina
98068a71df
Fix typo in benchmarker usage string.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3290 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-13 02:32:05 +00:00
Marcel Molina
93b4c0b6e1
Fix typo in profiler usage string.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3288 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-13 02:18:36 +00:00
Thomas Fuchs
f7e39c4ec7
Update to script.aculo.us 1.5.0_rc6
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3285 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-12 17:14:05 +00:00
Marcel Molina
a501aa75cd
Remove duplicate entry from chagnelogs.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3278 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-11 05:09:52 +00:00
Marcel Molina
f5a4ba5282
Update instructions on how to find and install generators. Closes #3172 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3276 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-11 05:06:06 +00:00
David Heinemeier Hansson
4695133d8d
Close h1 with h1 not h2 ( closes #3150 )
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3272 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-10 19:58:01 +00:00
Jeremy Kemper
cebb8ff04b
Name vendor/generators source differently from lib/generators source.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3265 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-09 23:41:46 +00:00
Jeremy Kemper
08309ba51a
Generator looks in vendor/generators also.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3262 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-09 23:06:04 +00:00
Jeremy Kemper
b056adf03b
Fix shebang handling for empty files. References #2927 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3258 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-09 18:47:23 +00:00
Jeremy Kemper
3fb5828621
Generator copies files in binary mode. References #3156 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3256 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-09 18:36:34 +00:00
David Heinemeier Hansson
9d88348e2e
Warn people not to change boot.rb
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3231 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-08 03:54:50 +00:00
David Heinemeier Hansson
b4cf3f5739
Finish polish on new welcome screen
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3230 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-08 03:41:11 +00:00
Sam Stephenson
60936c5c84
Add builtin/ to the gemspec. Closes #3047 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3224 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-06 00:32:57 +00:00
Jeremy Kemper
dc64887f21
Connection cache to speed up retrieve_connection and get rid of dirty connection marking. References #428 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3218 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-04 05:56:49 +00:00
Marcel Molina
4f1e37ccd4
Add install.rb file to plugin generation which is loaded, if it exists, when you install a plugin.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3215 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-03 06:53:14 +00:00
Sam Stephenson
833d9c89fc
Run initialize_logger in script/lighttpd to ensure the log file exists before tailing it
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3198 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-30 19:18:55 +00:00
Marcel Molina
191dfe8c6d
Make load_fixtures include csv fixtures. Closes #3053 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3196 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-28 23:34:09 +00:00
Nicholas Seckar
ca7341d2a5
Fix freeze_gems so that the latest rails version is dumped by default
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3191 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-28 00:53:38 +00:00
Jeremy Kemper
21d50e4d1a
script/plugin: handle root paths and plugin names which contain spaces. References #2995 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3175 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-23 22:24:16 +00:00
Jeremy Kemper
3e51cd8b8e
Model generator: correct relative path to test_helper in unit test.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3162 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-22 21:33:56 +00:00
Sam Stephenson
1b3c9a0a56
Remove superfluous check for pluralize_table_names (use table_name which does this check when it's set).
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3159 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-22 08:59:52 +00:00
Marcel Molina
7355d9f1bd
Make the db_schema_dump task honor the SCHEMA environment variable if present the way db_schema_import does. Closes #2931 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3136 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-21 08:01:41 +00:00
Sam Stephenson
2b6e2bfed7
Have the lighttpd server script report the actual ip to which the server is bound. Closes #2903 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3123 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-21 06:19:25 +00:00
Marcel Molina
9a37fd44cb
Add plugin library directories to the load path after the lib directory so that libraries in the lib directory get precedence. Closes #2910 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3122 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-21 05:55:35 +00:00
Marcel Molina
f14625bb46
Make help for the console command more explicit about how to specify the desired environment in which to run the console. Closes #2911 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-21 05:33:13 +00:00
Jeremy Kemper
dfa8aa0e1e
PostgreSQL: the purge_test_database Rake task shouldn't explicitly specify the template0 template when creating a fresh test database. Closes #2964 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3110 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-20 12:00:46 +00:00
Jeremy Kemper
c2bb269cd5
Allows generator to specify migrations directory. References #2960 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3101 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-20 05:13:59 +00:00
Jeremy Kemper
9b9578fa47
Introducing the session_migration generator. Creates an add_session_table migration. References #2958 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3098 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-20 04:21:06 +00:00