Commit Graph

439 Commits

Author SHA1 Message Date
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