Commit Graph

1014 Commits

Author SHA1 Message Date
Jeremy Kemper
45fd631e5e Rails::VERSION::STRING on trunk is 1.2.0
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5507 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-11-13 07:13:41 +00:00
Jeremy Kemper
277c1a803e Rails::VERSION::STRING should always be available. Closes #6244.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5506 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-11-13 06:23:58 +00:00
Sam Stephenson
c192bdfc74 Update to Prototype 1.5.0_rc2
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5497 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-11-12 03:44:35 +00:00
Jamis Buck
da3eae4922 Add grep-based fallback to reaper, so it can work in pidless setups (again)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5488 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-11-11 22:46:00 +00:00
Jeremy Kemper
2a92995d2a Only wrap request processing with our USR1 signal handler so FastCGI can 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
2006-11-11 08:08:53 +00:00
Jeremy Kemper
2e0b33f277 Nested class gets qualified names.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5484 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-11-11 07:52:23 +00:00
Nicholas Seckar
d3100ec855 Alter prior change to use require_dependency instead of require_or_load. Causes ApplicationController to be reloaded again. Closes #6587.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5471 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-11-09 18:22:44 +00:00
Jeremy Kemper
089d3ec318 Rake: use absolute paths to load lib and vendor tasks so they may be run outside of RAILS_ROOT. Closes #6584.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5469 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-11-09 07:56:10 +00:00
Nicholas Seckar
fbccde9475 Update changelog
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5455 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-11-07 19:52:54 +00:00
Nicholas Seckar
e51112c15d Remove temporary crutch to help ApplicationController be unloaded. Closes #6496.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5454 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-11-07 19:52:27 +00:00
Jeremy Kemper
2fc9b55bd3 scaffold_resource generator uses _path named routes and head instead of render :nothing => true. Closes #6545.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5427 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-11-05 02:14:36 +00:00
Scott Barron
ceb3859672 Turns out call_stack slows down the entire app, so just warn that breakpoints
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
2006-11-03 18:20:53 +00:00
Scott Barron
2dd98cfe8c umm ... who left that there
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5408 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-11-02 18:37:38 +00:00
Jeremy Kemper
868d9f5a2c Generator can show diff on file collision to help you decide whether to skip or overwrite. Closes #6364.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5397 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-11-02 08:36:41 +00:00
Jeremy Kemper
4bd64363c1 Generated directories are recursively svn added, like mkdir -p. Closes #6416.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5395 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-11-02 07:55:04 +00:00
Scott Barron
61bcbfbb9c Little better formatting of this string.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5393 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-11-02 05:00:35 +00:00
Scott Barron
fa58808d08 Don't do call_stack warning all the time, only if a breakpoint is used.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5392 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-11-02 04:59:13 +00:00
Michael Koziarski
e7eae2bd9b Interim test task for railties, the existing one fails suspiciously.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5390 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-11-02 03:34:03 +00:00
Scott Barron
c1c96d55d7 If using Ruby 1.8.5, pull in call_stack so breakpointer works again.
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
2006-11-01 17:49:02 +00:00
Jeremy Kemper
c5dcec789e resource and scaffold_resource generators add a restful route to config/routes.rb
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5379 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-11-01 01:57:06 +00:00
Michael Koziarski
92365291b2 Revert environment changes for autoload_paths
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5376 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-10-31 01:29:34 +00:00
Thomas Fuchs
fe39ac7e56 Update to latest Prototype, which doesnt serialize disabled form elements, adds clone() to arrays, empty/non-string Element.update() and adds a fixes excessive error reporting in WebKit beta versions [Thomas Fuchs]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5371 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-10-28 16:55:06 +00:00
Michael Koziarski
e808315725 Clean up the output of rake stats, de-emphasise components and apis, and remove the indents for tests [Koz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5369 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-10-27 01:26:11 +00:00
David Heinemeier Hansson
464102d551 Added option to script/process/spawner of specifying the binding address #5133 [zsombor]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5367 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-10-26 16:59:35 +00:00
David Heinemeier Hansson
b9ffbd3166 Fix scaffolding from using deprecated :post => true (closes #6499)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5366 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-10-26 15:56:48 +00:00
Michael Koziarski
c08997405d Update environment.rb comments to include config.autoload_paths. Closes #6478 [caio]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5352 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-10-24 07:26:18 +00:00
Michael Koziarski
0c94868f67 Update scaffold to use new form_tag block functionality. Closes #6480 [BobSilva]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5351 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-10-24 07:16:16 +00:00
Jeremy Kemper
18e2188f5d Plugin generator: check for class collisions. Closes #4833.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5342 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-10-23 19:22:01 +00:00
Jeremy Kemper
1742d0d707 mailer unit test handles nested fixture paths
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5329 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-10-20 19:33:14 +00:00
Jeremy Kemper
ef8f41dc68 reference view path in fixture
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5328 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-10-20 19:18:56 +00:00
Jeremy Kemper
8cbe2fed54 .rhtml extension for view only
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5327 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-10-20 19:17:02 +00:00
Jeremy Kemper
ba74754c4f Mailer generator: handle mailers in modules, set mime_version in unit test.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5326 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-10-20 19:06:07 +00:00
Michael Koziarski
301f721ef8 Default $KCODE to 'u' to enable the multibyte-safe chars proxy. [Koz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5319 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-10-17 23:11:47 +00:00
David Heinemeier Hansson
c1a52510ea Added config.plugins to control which plugins are loaded #6269 [skaes]. By default, everything in vendor/plugins will be loaded, but if you specify config.plugins, only those will be loaded.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5317 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-10-17 20:27:03 +00:00
Nicholas Seckar
d1ae92eeb2 Remove extraneous expand_path; fix plugin load paths
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5313 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-10-16 18:29:31 +00:00
Nicholas Seckar
25b5161e16 Add plugins and builtins to the load_path.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5312 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-10-16 18:19:21 +00:00
Nicholas Seckar
64c7bf7481 Remove autoload_paths to simplify configuration.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5311 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-10-16 18:12:01 +00:00
Michael Koziarski
fa5080ae24 Tidy up the markup on the bundled error pages. Closes #6379. [Tim Lucas]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5306 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-10-15 23:32:30 +00:00
David Heinemeier Hansson
5e08c668d2 Fixed default 404.html and 500.htmls to remove extreme ugliness and added error language fit for humans [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5279 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-10-10 18:18:27 +00:00
Thomas Fuchs
b0e78c6278 Update to latest Prototype and script.aculo.us trunk versions
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5276 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-10-09 22:09:08 +00:00
Jeremy Kemper
419226fe11 PostgreSQL: db:test:purge closes open database connections first. Closes #6236.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5269 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-10-09 06:34:57 +00:00
David Heinemeier Hansson
ccd32adeca Fixed test:uncommitted on Windows (backslash issue) (closes #4999) [paul@paulbutcher.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5263 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-10-09 02:23:03 +00:00
David Heinemeier Hansson
0d8b8056be Docfix (closes #6234)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5262 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-10-09 02:20:43 +00:00
David Heinemeier Hansson
a21e86f023 Fixed migration creation to work with namespaced models, so script/generate model Gallery::Image will use create_table :gallery_images #6327 [BobSilva]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5261 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-10-09 02:19:58 +00:00
David Heinemeier Hansson
943be923f0 Added timeout option to SQLite3 configurations to deal more gracefully with SQLite3::BusyException, now the connection can instead retry for x seconds to see if the db clears up before throwing that exception (closes #6126) [wreese@gmail.com] Added default timeout setting of 5 seconds to SQLite3 database.yml configurations [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5258 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-10-09 02:02:27 +00:00
David Heinemeier Hansson
f1a2dee976 Include field:type option for models
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5237 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-10-09 00:11:46 +00:00
David Heinemeier Hansson
c16a4379ca Added script/generate resource which works just like scaffold_resource, but creates empty placeholders instead of predefined [DHH] Added generated attribute options to script/generate model, like the one found in scaffold_resource and resource [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5236 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-10-09 00:08:13 +00:00
David Heinemeier Hansson
5728b82c01 Added proper USAGE to the scaffold_resource generator [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5235 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-10-08 23:35:00 +00:00
David Heinemeier Hansson
c447d443dd Added proper USAGE to the scaffold_resource generator [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5234 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-10-08 23:32:07 +00:00
Jeremy Kemper
3c877ecd8a Use the first unparsed argument as the code or file to run. Closes #6286.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5203 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-29 07:45:08 +00:00