Commit Graph

4256 Commits

Author SHA1 Message Date
David Heinemeier Hansson
0cd7e6c1e0 Added -c/--charset option to WEBrick controller, so you can specify a default charset (which without changes is UTF-8) #2084 [wejn@box.cz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2173 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-09 08:59:07 +00:00
David Heinemeier Hansson
50debfa96c Dont encode the default subject for the test cases since they are within the ascii range
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2139 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-06 11:01:23 +00:00
Jamis Buck
b70e2db64a Make the default stats task extendable by modifying the STATS_DIRECTORIES constant
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2135 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-05 15:39:20 +00:00
Jamis Buck
9eef247339 Allow the selected environment to define RAILS_DEFAULT_LOGGER, and have Rails::Initializer use it if it exists.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2134 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-05 12:36:40 +00:00
David Heinemeier Hansson
558707f61a Silence logger initialization
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2127 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-03 23:05:58 +00:00
David Heinemeier Hansson
9fdd453257 Fix mocks dir
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2125 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-03 20:21:38 +00:00
David Heinemeier Hansson
a4994d077f Fix the spot looking for migrations
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2122 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-03 16:24:36 +00:00
David Heinemeier Hansson
6c3be611d4 Fix the spot looking for migrations
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2121 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-03 16:22:28 +00:00
David Heinemeier Hansson
177934e1d0 Talk about whats missing
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-03 16:04:33 +00:00
David Heinemeier Hansson
29436edb73 Also configure template view path
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2119 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-03 15:44:19 +00:00
David Heinemeier Hansson
bc011df210 Moved all the shared tasks from Rakefile into Rails, so that the Rakefile is empty and doesn't require updating. Added Rails::Initializer and Rails::Configuration to abstract all of the common setup out of config/environment.rb (uses config/boot.rb to bootstrap the initializer and paths)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2115 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-03 15:13:06 +00:00
David Heinemeier Hansson
1448d749f5 Fixed the scaffold generator to fail right away if the database isn't accessible instead of in mid-air #1169 [Chad Fowler]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2111 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-03 07:29:30 +00:00
Jamis Buck
14b8fa308e Corrected project-local generator location in scripts.rb #2010 [Michael Schuerig]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2099 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-02 10:04:15 +00:00
David Heinemeier Hansson
d54aea29fc Fix documentation for mailer generator
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2097 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-02 08:50:55 +00:00
Jamis Buck
2a8e33872b Make the default rakefile read *.rake files from config/tasks (for easy extension of the rakefile by e.g. generators)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2081 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-31 09:15:09 +00:00
Nicholas Seckar
49d5cadbb2 Only load breakpoint in development mode and when BREAKPOINT_SERVER_PORT is defined. Closes #1957
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2079 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-31 00:47:51 +00:00
Jamis Buck
bb7f60ca1c Remove switchtower integration from rails
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2073 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-30 20:47:09 +00:00
Nicholas Seckar
7ab71d3892 Replace render_partial with render :partial in scaffold generator
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2030 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-17 19:36:22 +00:00
Jamis Buck
3d4a323776 Add integration with SwitchTower (rake tasks, default deploy.rb recipe)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1968 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-03 15:02:31 +00:00
David Heinemeier Hansson
d75481c580 Added convenience controls for FCGI processes (especially when managed remotely): spinner, spawner, and reaper. They reside in script/process. More details can be had by calling them with -h/--help
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1909 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-24 07:57:10 +00:00
David Heinemeier Hansson
7d6f78377a Added an empty robots.txt to public/, so that web servers asking for it won't trigger a dynamic call, like favicon.ico #1738 [michael@schubert]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1876 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-22 06:18:25 +00:00
David Heinemeier Hansson
7077d8bb3d Dropped the 'immediate close-down' of FCGI processes since it didn't work consistently and produced bad responses when it didn't. So now a TERM ensures exit after the next request (just as if the process is handling a request when it receives the signal). This means that you'll have to 'nudge' all FCGI processes with a request in order to ensure that they have all reloaded. This can be done by something like ./script/process/repear --nudge 'http://www.myapp.com' --instances 10, which will load the myapp site 10 times (and thus hit all of the 10 FCGI processes once, enough to shut down).
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1867 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-19 18:53:48 +00:00
David Heinemeier Hansson
367d2e3cfc Regret inclusion for now
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1841 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-16 20:34:55 +00:00
David Heinemeier Hansson
1ce158ac8c Support for upcoming script/spawner
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1840 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-16 20:05:27 +00:00
Nicholas Seckar
19ee13867e Show correct paths to generated templates for nexted controllers. Fixes #730
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1828 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-14 01:12:21 +00:00
Jeremy Kemper
f29ce1f356 r3023@asus: jeremy | 2005-07-12 23:43:39 -0700
Remove superfluous inherited override in Dependencies.
 r3024@asus:  jeremy | 2005-07-12 23:54:28 -0700
 Make test the default railties rake target.
 r3025@asus:  jeremy | 2005-07-12 23:55:27 -0700
 Encapsulate dispatch call in dispatcher test.
 r3026@asus:  jeremy | 2005-07-12 23:56:14 -0700
 Expand dispatcher mock to match full method signature for process.
 r3027@asus:  jeremy | 2005-07-12 23:57:24 -0700
 Look for app-specific generators in RAILS_ROOT/generators instead of RAILS_ROOT/script/generators.
 r3028@asus:  jeremy | 2005-07-13 00:00:47 -0700
 Update changelog.


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1819 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-13 02:12:00 +00:00
David Heinemeier Hansson
60499774c2 Fixed that each request with the WEBrick adapter would open a new database connection #1685 [Sam Stephenson]. Added ActiveRecord::Base.threaded_connections flag to turn off 1-connection per thread (required for thread safety). By default it's on, but WEBrick in Rails need it off #1685 [Sam Stephenson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1792 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-10 04:54:34 +00:00
David Heinemeier Hansson
ac380810ec Pulled the gateway.cgi until we can make it work properly out the gates
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1724 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-06 06:12:43 +00:00
David Heinemeier Hansson
6f26511076 Added a USAGE document to the migration generator
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1722 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-06 05:19:56 +00:00
David Heinemeier Hansson
6e319ccce2 Added an EXPERIMENTAL gateway.cgi for getting high-speed performance through vanilla CGI using a long-running, DRb-backed server in the background (using script/listener and script/tracker) #1603 [Nicholas Seckar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1674 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-04 19:06:50 +00:00
David Heinemeier Hansson
dad9c4b2ee Fixed that model generator would make fixtures plural, even if ActiveRecord::Base.pluralize_table_names was false #1185 [Marcel Molina]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1612 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-02 18:29:52 +00:00
Jeremy Kemper
5650bc9094 r1588@asus: jeremy | 2005-07-02 03:14:45 -0700
Optional periodic garbage collection for dispatch.fcgi.  Graceful exit on TERM also (a la Apache1).  Ignore signals the platform does not support, such as USR1 on Windows.


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1592 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-02 04:52:14 +00:00
Jamis Buck
3cc47a4297 Use SIGHUP to dynamically reload an fcgi process without restarting it. Refactored dispatch.fcgi so that the RailsFCGIHandler is in the lib dir.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1565 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-29 11:07:20 +00:00
David Heinemeier Hansson
62ed6950c9 Added support for upload progress indicators in Apache and lighttpd 1.4.x (won't work in WEBrick or lighttpd 1.3.x) #1475 [Sean Treadway]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1552 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-28 17:42:51 +00:00
David Heinemeier Hansson
f0608c9165 Include the new Javascripts in new apps
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1523 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-26 12:07:30 +00:00
David Heinemeier Hansson
f16e0ec3eb Fixed ActionMailer generated tests to work properly after quoted refactoring #1481 [patrick@lenz.sh]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1506 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-25 11:02:17 +00:00
Jamis Buck
0d8455c1a2 ActionMailer::Base subclasses are reloaded with other rails components #1262
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1492 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-24 11:57:40 +00:00
David Heinemeier Hansson
0c3298f2f2 Added ActionController::Base.allow_concurrency to control whether the application is thread-safe, so multi-threaded servers like WEBrick knows whether to apply a mutex around the performance of each action. Action Pack and Active Record are by default thread-safe, but many applications may not be. Turned off by default.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1487 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-23 06:56:12 +00:00
David Heinemeier Hansson
413d10ceec Fixed new WEBrick handling to actually pass parameters
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1483 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-22 15:03:29 +00:00
David Heinemeier Hansson
4e0ffab8b0 Removed the mutex from the WEBrick adapter under the production environment so concurrent requests can be served
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1482 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-22 12:59:36 +00:00
David Heinemeier Hansson
2694b8cf27 Added a migration generator
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1477 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-22 10:09:01 +00:00
David Heinemeier Hansson
b69199c1da Fixed that mailer generator generated fixtures/plural while units expected fixtures/singular #1457 [Scott Barron]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1461 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-21 06:54:04 +00:00
David Heinemeier Hansson
a32303e0fc Fixed Webrick to escape + characters in URL's the same way that lighttpd and apache do #1397 [Nicholas Seckar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1433 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-16 06:01:52 +00:00
Jeremy Kemper
3cb26e9cb3 r2495@sedna: jeremy | 2005-05-27 22:07:18 -0700
Branch to have scaffold use new render methods
 r2496@sedna:  jeremy | 2005-05-28 10:50:51 -0700
 axe unused process_request method
 r2497@sedna:  jeremy | 2005-05-28 10:51:58 -0700
 sanity assertions in process method check that @controller, @request, @response are set
 r2498@sedna:  jeremy | 2005-05-28 10:53:42 -0700
 clean up escaping.  use instance_variable_get instead of instance_eval.  put id in form action instead of hidden input (like the generated scaffolding)
 r2499@sedna:  jeremy | 2005-05-28 10:54:46 -0700
 clean up interpolation, remove tabs from stylesheet
 r2500@sedna:  jeremy | 2005-05-28 10:56:40 -0700
 modernize dynamic scaffolding.  use params[:id] instead of @params[id].  use consolidated render method instead of render_action, render_file, etc.  use builtin inflections rather than module methods.
 r2501@sedna:  jeremy | 2005-05-28 11:00:26 -0700
 modernize generated scaffolding.  use new-style assertions; use params[:id] instead of @params[id]; use consolidated render method instead of render_*
 r2542@sedna:  jeremy | 2005-06-12 02:24:06 -0700
 use :id => model instead of :id => model.id.  clean up the form helper method.  use flash[:notice] instead of flash['notice'].
 r2543@sedna:  jeremy | 2005-06-12 02:33:22 -0700
 whitespace
 r2544@sedna:  jeremy | 2005-06-12 02:56:57 -0700
 update changelogs
 r2545@sedna:  jeremy | 2005-06-12 03:26:23 -0700
 test dynamic form help when @post is not a new record
 r2546@sedna:  jeremy | 2005-06-12 03:44:14 -0700
 touch up TestCase#process sanity assertions


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1404 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-12 05:33:23 +00:00
David Heinemeier Hansson
5add31eda4 CSS needs "red" not #red
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1388 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-06 09:48:48 +00:00
David Heinemeier Hansson
32c0e895bf Fixed scaffolding to use the latest style
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1380 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-02 20:13:02 +00:00
David Heinemeier Hansson
52ecf9a318 Remove unneeded file
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1343 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-05-21 13:21:55 +00:00
David Heinemeier Hansson
48bb9bb0ad Missing file
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1342 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-05-21 13:21:29 +00:00
David Heinemeier Hansson
2bccdba9d1 Made the console and profiler work with the default 1.8.2 profiler #1325 [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1339 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-05-21 10:49:15 +00:00
David Heinemeier Hansson
b3fcf2fa3c Fixed docs for scaffolding generator #1303 [thijs@vandervossen.net]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1312 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-05-19 17:00:16 +00:00
David Heinemeier Hansson
6b6d6d29f6 Dont activate the query cache just yet
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1278 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-05-02 17:26:29 +00:00
David Heinemeier Hansson
dda5070e70 Started work on a per-request query cache
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1268 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-05-02 07:04:59 +00:00
David Heinemeier Hansson
54f2d1d944 Added console --profile for profiling an IRB session #1154 [bitsweat]. Changed console_sandbox into console --sandbox #1154 [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1261 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-04-30 15:37:45 +00:00
David Heinemeier Hansson
e9681eb9c5 Added graceful handling of PUT, DELETE, and OPTIONS requests for a complete coverage of REST functionality #1136 [joshknowles@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1208 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-04-18 14:15:26 +00:00
David Heinemeier Hansson
624d5bb176 Added script/benchmarker to easily benchmark one or more statement a number of times from within the environment. Added script/profiler to easily profile a single statement from within the environment
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1166 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-04-14 08:23:50 +00:00
David Heinemeier Hansson
9a97cb25eb Added lazy typing for generate, such that ./script/generate cn == ./script/generate controller and the likes #1051 [k@v2studio.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1137 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-04-10 17:36:57 +00:00
David Heinemeier Hansson
1752583531 generate --quiet documentation #715
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1107 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-04-07 06:37:02 +00:00
David Heinemeier Hansson
3532455404 Added pagination for scaffolding (10 items per page) #964 [mortonda@dgrmm.net]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1067 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-04-02 09:11:17 +00:00
David Heinemeier Hansson
5f5f19b06d _at is better for Time.now than _on
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@988 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-23 14:16:46 +00:00
David Heinemeier Hansson
11a5492791 Removed SCRIPT_NAME from the WEBrick environment to prevent conflicts with PATH_INFO #896 [Nicholas Seckar] Removed ? from the dispatch.f/cgi redirect line to get rid of 'complete/path/from/request.html' => nil being in the @params now that the ENV[REQUEST_URI] is used to determine the path #895 [dblack/Nicholas Seckar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@972 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-22 12:11:43 +00:00
David Heinemeier Hansson
7d09215506 Dont repeat error messages in scaffolds
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@962 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-21 12:08:17 +00:00
David Heinemeier Hansson
d06239e177 Choose a simpler requiring of picking gems or not for library loading
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@961 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-21 11:42:45 +00:00
David Heinemeier Hansson
ecc0e28896 Add prototype.js to new apps in javascripts/ #885
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@956 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-21 01:04:57 +00:00
David Heinemeier Hansson
40d6be6498 Improved the generated scaffold code a lot to take advantage of recent Rails developments #882 [Tobias Luetke]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@952 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-20 23:51:25 +00:00
David Heinemeier Hansson
778a9ec84f Improved the generated scaffold code a lot to take advantage of recent Rails developments #882 [Tobias Luetke]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@951 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-20 23:47:35 +00:00
David Heinemeier Hansson
20e3cfe52d Combined the script/environment.rb used for gems and regular files version. If vendor/rails/* has all the frameworks, then files version is used, otherwise gems #878 [Nicholas Seckar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@946 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-20 22:41:35 +00:00
David Heinemeier Hansson
2afb8a8cc0 Added script/runner which can be used to run code inside the environment by eval'ing the first parameter
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@939 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-20 17:36:23 +00:00
David Heinemeier Hansson
694aafaa9d Fixed webrick_server cookie handling to allow multiple cookes to be set at once #800, #813 [dave@cherryville.org]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@937 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-20 16:44:48 +00:00
David Heinemeier Hansson
693e0df352 Fixed rake stats to ignore editor backup files like model.rb~ #791 [skanthak]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@868 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 23:39:12 +00:00
David Heinemeier Hansson
dbb6403923 Added exception shallowing if the DRb server can't be started (not worth making a fuss about to distract new users) #779 [Tobias Luetke]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@864 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 17:37:49 +00:00
David Heinemeier Hansson
10be1c59f8 Added an empty favicon.ico file to the public directory of new applications (so the logs are not spammed by its absence)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@861 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 17:22:56 +00:00
David Heinemeier Hansson
7ba3903db6 Fixed that scaffold generator new template should use local variable instead of instance variable #778 [Dan Peterson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@859 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 14:37:08 +00:00
David Heinemeier Hansson
9eb04967a4 Added web_service generator (run ./script/generate web_service for help) #776 [Leon Bredt]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@851 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 14:02:27 +00:00
David Heinemeier Hansson
5718eb190c Fixed WEBrick server to use ABSOLUTE_RAILS_ROOT instead of working_directory #687 [Nicholas Seckar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@839 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 12:24:21 +00:00
David Heinemeier Hansson
6d566e82b4 Fixed rails_generator to be usable without RubyGems #686 [Cristi BALAN]. Moved all active support dependencies into active support
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@838 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-06 12:20:53 +00:00
David Heinemeier Hansson
38ea84aab6 Fixed test/mocks/testing to the correct test/mocks/test #740
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@809 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-27 20:43:08 +00:00
David Heinemeier Hansson
614e14d815 Drop the _doc nonsense and use the index.html straight on
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@791 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-24 12:26:30 +00:00
David Heinemeier Hansson
f3cf76d32d Fix the error message on generate mailer
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@745 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-22 16:09:27 +00:00
David Heinemeier Hansson
148f6d8fb6 Made Action Mailer templates use UTF-8 as default
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@739 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-22 13:34:57 +00:00
David Heinemeier Hansson
824558816a Added lighttpd config example and changed apache.log to less discriminating server.log
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@726 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-20 23:51:06 +00:00
David Heinemeier Hansson
ab3a813364 Fixed that script/server -d was broken so daemon mode couldn't be used #687 [Nicholas Seckar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@723 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-20 23:04:42 +00:00
David Heinemeier Hansson
67a6668693 Set Railsy defaults for breakpoint client
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@722 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-20 22:34:03 +00:00
David Heinemeier Hansson
1402bb7a25 Upgraded to breakpoint 92
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@721 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-20 22:28:11 +00:00
David Heinemeier Hansson
d8739bd8cb Help against errors in ApplicationController
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@716 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-20 17:20:10 +00:00
David Heinemeier Hansson
e4f07888ce Made caching work for WEBrick and lighttpd by appending .html for all URLs not already containing a dot
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@715 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-20 17:18:59 +00:00
David Heinemeier Hansson
69d0f50206 Added support for independent components residing in /components
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@714 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-20 13:58:03 +00:00
David Heinemeier Hansson
beb2875094 Updated dependency loading to consider non-standard class/file name combinations
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@712 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-20 13:47:57 +00:00
David Heinemeier Hansson
5fa66cd45c Allows a loading module to load from multiple load paths #675
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@711 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-20 11:06:14 +00:00
David Heinemeier Hansson
b008b6f194 Added --sandbox option to script/console that'll roll back all changes made to the database when you quit #672 [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@700 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 21:57:43 +00:00
David Heinemeier Hansson
83efffbcf6 Fix module support for controller generators #668 [Ulysses]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@691 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-19 16:41:39 +00:00
David Heinemeier Hansson
11ffeaf0bb Fixed functional test path problems #662
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@663 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-18 16:53:25 +00:00
David Heinemeier Hansson
bc8e41247b Integrated Action Service with the existing elements
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@660 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-18 10:58:25 +00:00
David Heinemeier Hansson
2713960dfc Check class path for conflicts on generation #640 [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@655 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-17 19:40:58 +00:00
David Heinemeier Hansson
55b6e884c5 Forget to addd this
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@634 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 23:03:44 +00:00
David Heinemeier Hansson
b04618e707 Fixed generated functional test for nested controllers has wrong paths #635
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@631 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 19:35:13 +00:00
David Heinemeier Hansson
dcfd6aa3bd Move Controllers wrapper module away from environment.rb and into dependencies.rb
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@627 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 16:21:56 +00:00
David Heinemeier Hansson
ca175ed7c9 All libraries should link against the independent active support
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@625 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 16:15:02 +00:00
David Heinemeier Hansson
dc3d6eb9b4 Moved Active Support into its own gem
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@624 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 15:57:44 +00:00
David Heinemeier Hansson
5e0223ae21 No leading return
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@621 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 13:41:28 +00:00
David Heinemeier Hansson
b072965930 Updated the Rails generator command to work
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@620 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 13:09:18 +00:00
David Heinemeier Hansson
b1999be5a7 A hopefully more successful attempt at the Routing branch merge
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@617 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 01:45:35 +00:00
David Heinemeier Hansson
88a3343ed5 Backed out of routing merge.. investigating missing patches
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@616 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 01:24:55 +00:00
David Heinemeier Hansson
c844755e5a Merged back the Routing branch
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@614 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 00:51:02 +00:00
David Heinemeier Hansson
daee6fd92a Added new generator framework that informs about its doings on generation and enables updating and destruction of generated artifacts. See the new script/destroy and script/update for more details #487 [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@518 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-07 13:14:05 +00:00
David Heinemeier Hansson
be80d460f7 Moved subclass reloading responsibilities to Dependencies
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@509 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-25 18:20:23 +00:00
David Heinemeier Hansson
ee662e9768 New approach to reloading that uses remove_const on ARs and AOs as well as ACs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@507 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-25 18:00:15 +00:00
David Heinemeier Hansson
453bc7346d Fixed that /Recipe/new and /recipe/new points to the same thing [Lyle Johnson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@500 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-24 16:19:29 +00:00
David Heinemeier Hansson
505e2d99da Added Florian Gross' latest version of Breakpointer and friends that fixes a variaty of bugs #441 [Florian Gross]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@492 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-24 13:41:57 +00:00
David Heinemeier Hansson
3d1e8dde9d Fixed handling of syntax errors in models that had already been succesfully required once in the current interpreter. Fixed superclass mismatch and other controller related problems by not using dependency reloading for controllers.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@482 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-24 10:58:17 +00:00
David Heinemeier Hansson
f31291ab5a Another swing at reloading
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@479 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-24 00:26:44 +00:00
David Heinemeier Hansson
0942bfa7a9 Brought back reloading of models
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@478 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-23 19:42:40 +00:00
David Heinemeier Hansson
01ead94d0b Flipped reloads around
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@471 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-20 15:35:20 +00:00
David Heinemeier Hansson
99598820cf Fixed that FCGI can also display SyntaxErrors
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@470 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-20 15:29:11 +00:00
David Heinemeier Hansson
58f920fecd Made methods class level methods again
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@445 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-17 17:01:35 +00:00
David Heinemeier Hansson
1e3b5b1fcb Tagged the 0.9.4 release
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@444 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-17 02:30:07 +00:00
David Heinemeier Hansson
1dbb4adec1 Made a bunch of stuff quiet in the docs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@441 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-17 01:29:45 +00:00
David Heinemeier Hansson
954fd97d00 New adventures in dependency reloading
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@430 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-16 17:56:42 +00:00
David Heinemeier Hansson
ee014ef95a New adventures in dependency reloading
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@429 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-16 17:50:36 +00:00
David Heinemeier Hansson
e59f1b5249 Went back to original breakpointing as I couldnt make the patches from flgr work
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@425 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-15 21:28:02 +00:00
David Heinemeier Hansson
c46e390920 Fixed some breakpoint issues and made breakpoint_client depend on activerecord/support instead of duplicating the files in railties #441 [Florian Gross]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@424 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-15 21:10:26 +00:00
David Heinemeier Hansson
2aac6d90fe Flipped code-to-test ratio around to be more readable #468 [Scott Baron]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@420 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-15 18:19:51 +00:00
David Heinemeier Hansson
6c1fe632a3 Fixed that auto reloading would some times not work or would reload the models twice #475 [Tobias Luetke]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@408 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-15 13:26:48 +00:00
David Heinemeier Hansson
f92ae75a23 Removed Fancy Indexing as a default option on the WEBrick servlet as it made it harder to use various caching schemes
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@337 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-04 22:50:15 +00:00
David Heinemeier Hansson
b3739fca2c Nuke the controllers after the dispatcher reload to avoid the superclass mismatch problem
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@323 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-02 23:42:21 +00:00
David Heinemeier Hansson
375568b7cb Fixed problems with dependency caching and controller hierarchies on Ruby 1.8.2 in development mode #351
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@317 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-02 18:32:56 +00:00
David Heinemeier Hansson
fa1f5e062e Switch dispatcher to use the new shared Dependencies approach
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@280 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-29 21:26:20 +00:00
David Heinemeier Hansson
1f94ac2c45 Touched up wording on the new recommendation stuff for generate models
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@264 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-23 01:08:51 +00:00
David Heinemeier Hansson
4ff4afa579 Added protection for creating a model through the generators with a name of an existing class, like Thread or Date. It'll even offer you a synonym using wordnet.princeton.edu as a look-up. No, I'm not kidding :) [Florian Gross]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@263 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-23 00:52:34 +00:00
David Heinemeier Hansson
78c6de9daf Fixed CTRL-C exists from the Breakpointer to be a clean affair without error dumping [Kent Sibilev]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@246 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-22 13:17:35 +00:00
David Heinemeier Hansson
ebf2b12b07 Fixed "rake stats" to work with sub-directories in models and controllers and to report the code to test ration [Scott Baron]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@245 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-22 13:08:26 +00:00
David Heinemeier Hansson
3f3cbb51dc The dispatcher should reload the associations AFTER clearing the inheritable variables, not before, or callbacks and others wont work
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@243 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-22 02:00:41 +00:00
David Heinemeier Hansson
8537d5eb93 Added a require_association hook on const_missing that makes it possible to use any model class without requiring it first. Added that Active Record associations are now reloaded instead of cleared to work with the new const_missing hook in Active Record.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@233 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-20 13:21:01 +00:00
David Heinemeier Hansson
df1c6995f7 Cut down on the documentation visible
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@200 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-16 20:56:02 +00:00
David Heinemeier Hansson
89689ea524 Fixed a small bug in the new referencing of DEFAULT_SESSION_OPTIONS
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@199 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-16 20:43:31 +00:00
David Heinemeier Hansson
2f3db152ec Made the last tweaks before 0.9
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@197 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-16 19:43:27 +00:00
David Heinemeier Hansson
12f10f6baf Only requests that require processing from a controller should block the webrick server -- requests for stylesheets, images, and the like should be concurrent
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@189 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-16 16:08:10 +00:00
David Heinemeier Hansson
4d9cda5732 Renamed AbstractApplicationController and abstract_application.rb to ApplicationController and application.rb, so that it will be possible for the framework to automatically pick up on app/views/layouts/application.rhtml and app/helpers/application.rb
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@159 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-15 11:30:09 +00:00
David Heinemeier Hansson
e5a8d8ebbb This patch allows urls to be of the form :module/:controller/:action as well as :controller/:action/:id where :id is no entirely numeric by determining if what would be :module corresponds to a directory in app/controllers. If it does not then the :controller/:action/:id scheme is used.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@150 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-14 12:58:25 +00:00
David Heinemeier Hansson
458c5485a1 Improved the quality of the breakpointing -- especially under FCGI
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@146 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-13 23:38:08 +00:00
David Heinemeier Hansson
1f9243c13e Cleaner deactivation of the breakpoint server
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@138 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-12 20:49:20 +00:00
David Heinemeier Hansson
65a9011ea3 Fixed a pattern for module loading
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@137 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-12 20:37:43 +00:00
David Heinemeier Hansson
8eec674148 Breakpointing that works much better with CGI and FCGI
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@136 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-12 20:29:52 +00:00
David Heinemeier Hansson
54dabd05e6 Added collusion handling for FCGI
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@134 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-12 18:51:26 +00:00
David Heinemeier Hansson
fdc4d1bd79 Added confirmations on successfull connections and resumations
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@133 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-12 18:22:12 +00:00
David Heinemeier Hansson
e1ee02207c Reload the cached column information between requests when the ActionController is set to reloading dependencies
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@131 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-12 17:53:42 +00:00
David Heinemeier Hansson
c33126e07c Added pattern for specific actions in a modularized controller
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@129 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-12 17:23:20 +00:00
David Heinemeier Hansson
8e1f1ee442 Moved require_association to associations.rb and added methods for resetting the inheritable attributes on subclasses
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@125 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-12 16:14:20 +00:00
David Heinemeier Hansson
204100d772 Superseeded by rails_generator.rb
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@122 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-12 13:44:17 +00:00
David Heinemeier Hansson
bf0e37b3cf Added preliminary remote breakpoint support
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@102 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-09 17:20:00 +00:00
David Heinemeier Hansson
4e1eaa289b Only nuke the AbstractApplicationController if its available
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@79 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-08 10:41:14 +00:00
David Heinemeier Hansson
2594581e9f Added a better generator for scaffolding that actually creates the code, so it can be edited bit by bit. See "script/generate scaffold" [bitsweat]. Added a whole new approach to generators that used the shared "script/generate" command. Run with no-args to see help [bitsweat].
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@63 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-07 11:49:38 +00:00
David Heinemeier Hansson
0ffb6c1625 Syntax errors and other exceptions thrown outside of an action are now gracefully handled by the dispatcher
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@51 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-06 18:25:01 +00:00
David Heinemeier Hansson
9200dad7c9 script/new_controller should create directory for views even when no actions are specified [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@36 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-01 12:07:07 +00:00
David Heinemeier Hansson
d82f73ecab Abolished ActionController::Base.require_or_load in favor of require_dependency and ActiveRecord::Base.require_or_load in favor of require_association. Both methods are now also available in the global namespace when you need to require dependencies or associations outside of whats done automatically.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@32 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-30 18:52:20 +00:00
David Heinemeier Hansson
5b38d85571 AbstractApplicationController and the individual controllers are now completely reloaded on each request if "reload_dependencies" is set to true. This makes it possible to REMOVE methods and constants and have the changes reflected. Beaware that this is still not possible for models, though.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@31 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-30 17:19:01 +00:00
David Heinemeier Hansson
db045dbbf6 Initial
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-24 01:04:44 +00:00