Sam Stephenson
f52021ddd2
Update to Prototype 1.5.1
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6785 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-05-19 20:57:11 +00:00
Thomas Fuchs
81ee044fda
Update edge to script.aculo.us to 1.7.1_beta3
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6781 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-05-19 00:23:42 +00:00
Jeremy Kemper
c7befb896e
Generators use *.html.erb view template naming. Closes #8278 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6690 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-05-06 10:34:18 +00:00
David Heinemeier Hansson
4cbbebb1c3
Added short-hand declaration style to migrations (inspiration from Sexy Migrations, http://errtheblog.com/post/2381 ) [DHH] Updated resource_scaffold and model generators to use short-hand style migrations [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6667 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-05-06 01:48:19 +00:00
Nicholas Seckar
4ef9ad8653
Updated initializer to only load #{RAILS_ENV}.rb once. Added deprecation warning for config.breakpoint_server.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6627 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-04-29 07:35:22 +00:00
David Heinemeier Hansson
70ac560e42
Removed breakpointer and Binding.of_caller in favor of relying on ruby-debug by Kent Sibilev since the breakpointer has been broken since Ruby 1.8.4 and will not be coming back [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6611 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-04-28 15:57:29 +00:00
Jeremy Kemper
baba45d689
Resource scaffolding returns the created entity.to_xml.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6580 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-04-25 22:08:07 +00:00
Jeremy Kemper
9ff19d89b9
Resource scaffolding responds to new.xml. Closes #8185 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6579 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-04-25 21:10:27 +00:00
Thomas Fuchs
fe218684d5
Include Active Resource in rails:freeze:edge rake task
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6567 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-04-24 09:15:20 +00:00
David Heinemeier Hansson
df41c7cb61
Include Active Resource instead of Action Web Service [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6550 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-04-23 18:55:54 +00:00
Rick Olson
2a305949d7
documentation project patches, closes #7342 , #7319 , #7316 , #7190 [jeremymcanally]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6470 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-03-27 14:04:06 +00:00
Jeremy Kemper
2632664f64
Deprecation: remove components from controller paths. Canonicalize RAILS_ROOT by using File.expand_path on Windows, which doesn't have to worry about symlinks, and Pathname#realpath elsewhere, which respects symlinks in relative paths but is incompatible with Windows. Closes #6755 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6445 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-03-18 13:35:16 +00:00
Nicholas Seckar
8a9496cb4e
Add environment variable RAILS_DEFAULT_DATABASE, which allows the builtin default of 'mysql' to be overridden.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6429 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-03-14 23:45:17 +00:00
Jeremy Kemper
8dfe5b78fa
Windows: include MinGW in RUBY_PLATFORM check. Closes #2982 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6344 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-03-06 09:22:07 +00:00
Marcel Molina
15c466dd72
Split out the basic plugin locator functionality into an abstract super class. Add a FileSystemLocator to do the job of checking the plugin_paths for plugins. Add plugin_locators configuration option which will iterate over the set of plugin locators and load each of the plugin loaders they return. Rename locater everywhere to locator. [Marcel Molina Jr.]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6290 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-03-02 23:39:29 +00:00
Marcel Molina
b0e1430c52
Split plugin location and loading out of the initializer and into a new Plugin namespace, which includes Plugin::Locater and Plugin::Loader. The loader class that is used can be customized using the config.plugin_loader option. Those monkey patching the plugin loading subsystem take note, the internals changing here will likely break your modifications. The good news is that it should be substantially easier to hook into the plugin locating and loading process now. [Marcel Molina Jr.]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6277 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-03-02 00:20:32 +00:00
David Heinemeier Hansson
34f1413b48
Added assumption that all plugin creators desire to be sharing individuals and release their work under the MIT license [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6244 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-02-27 01:23:43 +00:00
David Heinemeier Hansson
ee2b5dda80
Added source-annotations extractor tasks to rake [Jamis Buck]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6229 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-02-25 19:40:37 +00:00
David Heinemeier Hansson
87b7b5b3e7
Added fixtures :all to test_helper.rb to assume that most people just want all their fixtures loaded all the time [DHH] Added fixtures :all as a way of loading all fixtures in the fixture directory at once ( closes #7214 ) [manfred]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6227 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-02-25 17:31:43 +00:00
David Heinemeier Hansson
c6d6082562
Added config/initializers where all ruby files within it are automatically loaded after the Rails configuration is done, so you don't have to litter the environment.rb file with a ton of mixed stuff [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6212 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-02-23 00:32:27 +00:00
Jeremy Kemper
45dd256889
Missed commit for [6184]. Generate a random secret for new app's cookie session store.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6197 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-02-21 23:13:32 +00:00
Michael Koziarski
89cb34c9cf
Stop swallowing errors during rake test [Koz]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6176 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-02-20 03:15:26 +00:00
Rick Olson
f2f2686f97
Update Rails Initializer to use ActionController::Base#view_paths [Rick]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6126 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-02-04 22:41:37 +00:00
David Heinemeier Hansson
8f614a80e7
Fix gem deprecation warnings, which also means depending on RubyGems 0.9.0+ [Chad Fowler]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6119 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-02-04 20:44:45 +00:00
Jeremy Kemper
aa7859c976
Plugins may be symlinked in vendor/plugins. Closes #4245 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6101 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-02-01 20:12:36 +00:00
Jeremy Kemper
5224b62ae3
Resource generator depends on the model generator rather than duplicating it. Closes #7269 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6069 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-01-28 13:55:39 +00:00
Rick Olson
37fa17f55a
Add/Update usage documentation for script/destroy, resource generator and scaffold_resource generator. Closes #7092 , #7271 , #7267 . [bscofield]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6016 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-01-23 05:01:05 +00:00
Thomas Fuchs
0f8ed48bf5
Update trunk to script.aculo.us 1.7.0
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6004 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-01-19 20:56:31 +00:00
Sam Stephenson
9ec31ba741
Update to Prototype 1.5.0
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5970 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-01-17 05:01:29 +00:00
Jeremy Kemper
47f99584b3
Generator: use destination path for diff tempfiles. Closes #7015 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5914 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-01-13 04:09:18 +00:00
David Heinemeier Hansson
73499158df
Fixed that webrick would strip leading newlines and hang connection ( closes #4156 ) [psross]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5847 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-01-05 04:09:38 +00:00
Rick Olson
5cf118b138
Ensure plugins are in the Dependencies.load_once_paths collection by default. [Rick]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5801 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-12-27 22:18:38 +00:00
Michael Koziarski
c6d47806bf
Allow config.to_prepare to work, make the dispatcher safe to 're require'. [Koz, Nicholas Seckar]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5792 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-12-26 23:56:00 +00:00
Rick Olson
29ec023add
Fix scaffold_resource generator so it respects the --pretend argument when creating the routes file. Closes #6852 [fearoffish]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5790 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-12-26 19:39:30 +00:00
Rick Olson
c6b4c8d240
Fix Webrick Daemon dispatching bug regarding a bad current working directory. Closes #4899 [Rick Olson]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5784 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-12-25 09:01:41 +00:00
Michael Koziarski
507445862e
Reapply plugin load path changes from [5720]
...
Closes #6842
Closes #6851
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5738 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-12-18 20:27:05 +00:00
Michael Koziarski
23c2768421
Revert [5720]
...
Reopens #6581
Reopens #6842
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5722 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-12-16 02:22:23 +00:00
Michael Koziarski
39686e5370
Make config.plugins affect $LOAD_PATH and remove duplication from $LOAD_PATH [James Adam]
...
Closes #6581
Closes #6842
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5720 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-12-15 23:41:58 +00:00
Jeremy Kemper
4c9000d51d
Changelog for bungled commit.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5692 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-12-06 22:10:09 +00:00
David Heinemeier Hansson
56267474da
Fixed script/process/spawner to work properly with Mongrel including in -r (daemonize mode) [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5672 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-12-04 03:50:57 +00:00
David Heinemeier Hansson
9040f40682
Added one-letter aliases for the three default environments to script/console, so script/console p will load the production environment (t for test, d for development) [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5655 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-12-01 00:08:33 +00:00
David Heinemeier Hansson
8dca6586de
Fixed that script/server running against Mongrel should tail the proper log regardless of the environment [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5652 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-11-30 21:45:31 +00:00
Nicholas Seckar
cf248eae1f
Update initializer to load Rails::VERSION as soon as possible. Closes #6698 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5624 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-11-25 17:11:46 +00:00
David Heinemeier Hansson
a02dbe0a3d
Added ActiveRecord::Base.clear_active_connections! in development mode so the database connection is not carried over from request to request. Some databases won't reread the schema if that doesn't happen (I'm looking at you SQLite), so you have to restart the server after each migration (= no fun) [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5618 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-11-23 05:16:46 +00:00
David Heinemeier Hansson
958e9a36a9
Made RAILS_GEM_VERSION work for beta gems too, so specifying 1.1.6 will give you 1.1.6.4520 if available [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5614 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-11-23 04:40:48 +00:00
Thomas Fuchs
de6ffba806
Update trunk w/ latest Prototype and script.aculo.us
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5581 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-11-19 23:01:32 +00:00
David Heinemeier Hansson
44de099efe
Restore windows compatibility
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5577 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-11-19 22:17:26 +00:00
Rick Olson
5999fdd3f3
Use custom mime file for script/server mongrel if config/mime.yml exists. Pass --mime=other/path for a custom mime file. [Rick Olson]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5572 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-11-19 21:12:22 +00:00
Rick Olson
ca2d704c75
Add custom mime type file for mongrel. config/mime.yml is added with generated apps from the rails command. [Rick Olson]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5571 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-11-19 21:01:25 +00:00
Thomas Fuchs
bc76044fde
Update Prototype in trunk to [5550]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5551 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-11-17 23:52:54 +00:00
Tobias Lütke
a64c6af57c
Make sure that exceptions which are thrown outside of the user code try their best to be handeled in ApplicationController#rescue_action.
...
This allos handling of ActionController::RoutingError which were previously always handeled by ActionController#Base
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5516 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-11-13 20:23:00 +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
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
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
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
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
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
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
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
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
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
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
Jeremy Kemper
43c4d3002d
script/runner can run files, pass on arguments, and be used as a shebang. Closes #6286 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5189 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-26 07:10:08 +00:00
Jeremy Kemper
b96fbe81b8
Look for rake tasks in plugin subdirs. Closes #6259 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5159 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-22 00:03:05 +00:00
David Heinemeier Hansson
5ddc82c3a1
Added map.connect ':controller/:action/:id.:format' as a default route to config/routes.rb [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5148 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-20 09:33:59 +00:00
Rick Olson
55c6c64da0
Updated prototype.js to 1.5.0_rc1 with latest fixes. [Rick Olson]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5128 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-16 23:00:17 +00:00
Jeremy Kemper
d54406271b
session_migration generator adds an index on updated_at. Closes #6207 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5105 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-13 23:35:55 +00:00
Jeremy Kemper
9aeddc5538
script/server creates the tmp/pids directory. Closes #6204 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5103 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-13 23:25:02 +00:00
Jeremy Kemper
3c0e7b1b51
Fix script/console --sandbox for internal transactions changes. Closes #5738 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5088 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-12 01:17:11 +00:00
Nicholas Seckar
840b5763ff
Too much dotware
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5065 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-07 16:55:59 +00:00
Nicholas Seckar
e3c2151f7f
Remove the uncanny default of adding all app/models/*/ directories to the load path. References #6031 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5064 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-07 16:53:58 +00:00
Thomas Fuchs
4f68dcb035
Update to script.aculo.us 1.6.3 [Thomas Fuchs]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5015 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-05 10:42:41 +00:00
Sam Stephenson
899c1b0157
Update to Prototype 1.5.0_rc1
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5012 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-05 04:17:06 +00:00
Michael Koziarski
7466c1125c
Formally deprecate the non-namespaced rake tasks. [Koz]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4960 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-04 00:49:08 +00:00
Jeremy Kemper
f6339eb177
Thoroughly test the FCGI dispatcher. Closes #5970 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4913 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-03 00:18:31 +00:00
Rick Olson
03de0cfe7a
Remove Dir.chdir in the Webrick DispatchServlet#initialize method. Fix bad path errors when trying to load config/routes.rb. [Rick Olson]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4899 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-02 15:50:52 +00:00
Jeremy Kemper
12ff554cd4
Tighten rescue clauses. Closes #5985 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4885 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-31 03:16:28 +00:00
Jeremy Kemper
42cabeb4b8
Railties: generator tests passing
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4843 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-29 10:33:40 +00:00
Jeremy Kemper
b031198638
Cleaning up railties tests. Set RAILS_ROOT for Rails::Initializer if undefined.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4842 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-29 10:15:25 +00:00
Nicholas Seckar
68c9c93118
Update Initializer to use load_once_paths to avoid plugin reloading. References #5852 .
...
Add Dependencies.load_once_paths.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4837 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-29 06:52:39 +00:00
Thomas Fuchs
6457b365a1
Updated trunk to script.aculo.us 1.6.2
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4766 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-15 14:20:55 +00:00
Nicholas Seckar
5baf7462c7
Add controller_paths variable to Routing; Assign Routing.controller_paths from initializer; fix script/about and rails info controller.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4762 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-15 01:28:06 +00:00
Nicholas Seckar
30fa7053be
Add silencing to deprecations; avoid self-scolding.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4760 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-14 18:15:44 +00:00
Rick Olson
651e57a72c
Rearrange application resetting and preparation, fix bug with leaking subclasses hash in ActiveRecord::Base [Rick Olson]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4742 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-09 16:52:42 +00:00
Rick Olson
af7a6e57cd
Add missing mock directories from the autoload_paths configuration. [Rick Olson]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4736 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-09 02:24:15 +00:00
Jeremy Kemper
e448b340ab
Nested controller scaffolding also nests the generated layout.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4735 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-09 02:22:04 +00:00
Nicholas Seckar
74165eb6ac
New dependencies implementation
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4728 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-08 21:21:04 +00:00
Rick Olson
c0657a9084
Fix Dispatcher.reset_application! so that AR subclasses are removed and Observers re-initialized *after* Reloadable classes are removed. Closes #5743 . [Rick Olson]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4716 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-07 17:00:03 +00:00
Marcel Molina
d63f6b9bdd
Clarify usage of script/plugin source. Closes #5344 . [james.adam@gmail.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4705 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-07 06:42:24 +00:00
Nicholas Seckar
cbc3afb878
Add Dispatcher.to_prepare and config.to_prepare to provide a pre-request hook.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4686 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-06 02:51:53 +00:00
Rick Olson
26eefd79a4
Tweak the Rails load order so observers are loaded after plugins, and reloaded in development mode. Closed #5279 . [Rick Olson]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4684 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-06 02:12:53 +00:00
David Heinemeier Hansson
900afae41b
Added that you can change the web server port in config/lighttpd.conf from 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
2006-08-05 22:11:24 +00:00
Jeremy Kemper
21cf3c6596
script/performance/profiler compatibility with the new ruby-prof, including 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
2006-08-05 21:30:44 +00:00
Rick Olson
2e88b5d37f
Fixed the failsafe response so it uses either the current recognized controller or ApplicationController. [Rick Olson]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4629 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-28 23:09:29 +00:00
Jamis Buck
fcd489b4c2
Make sure script/reaper only reaps dispatcher pids by default, and not the spawner's pid.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4614 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-18 17:48:06 +00:00
Rick Olson
9ac7afcf63
Fix script/plugin about so it uses about.yml and not meta.yml. [James Adam]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4612 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-17 19:17:50 +00:00
Jeremy Kemper
7231bfb59c
Dispatcher processes rescued actions with the same controller that processed the request. Closes #4625 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4589 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-08 01:34:22 +00:00
Jeremy Kemper
0d33934542
rails -d frontbase to create a new project with a frontbase database.yml. Closes #4945 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4587 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-08 01:22:48 +00:00
Jeremy Kemper
9f3625dd0a
Ensure the logger is initialized. Closes #5629 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4573 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-06 20:37:49 +00:00
David Heinemeier Hansson
6a66f910a1
Updated
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4572 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-06 17:35:37 +00:00
Jeremy Kemper
68608e331f
Update scaffolding functional tests to use :id => people(:first) instead of :id => 1. Closes #5612 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4559 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-05 23:48:27 +00:00
Jeremy Kemper
3398f74db1
db:test:clone should remove existing tables before reloading the schema. Closes #5607 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4557 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-05 18:35:06 +00:00
David Heinemeier Hansson
7e5dd2e124
Fixed migration generation for class names like ACLController ( closes #5197 ) [brad@madriska.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4553 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-05 04:40:48 +00:00
David Heinemeier Hansson
06411f4261
Added show_source_list and show_call_stack to breakpoints to make it easier 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
2006-07-05 02:02:30 +00:00
Jeremy Kemper
64b7c5fbd1
Generate scaffold layout in subdirectory appropriate to its module nesting. Closes #5511 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4527 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-07-01 00:11:35 +00:00
Jeremy Kemper
141962348c
script/server prefers mongrel over lighttpd
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4507 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-29 00:57:54 +00:00
Jeremy Kemper
0a072e8ed7
Mongrel: script/server tails the rails log like it does with lighttpd. Closes #5541 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4506 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-29 00:31:45 +00:00
Jeremy Kemper
ce458a74a5
Don't assume Active Record is available. Closes #5497 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4505 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-28 23:51:50 +00:00
Jeremy Kemper
0e146d54a7
Mongrel: script/server works on Win32. Closes #5499 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4504 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-28 23:41:29 +00:00
Nicholas Seckar
81a6a60dc6
Remove opts.on { |options[:option_name] } style hash assignment. Closes #4440 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4502 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-28 20:53:00 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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