Commit Graph

759 Commits

Author SHA1 Message Date
Thomas Fuchs
f7e39c4ec7 Update to script.aculo.us 1.5.0_rc6
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3285 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-12 17:14:05 +00:00
Marcel Molina
a501aa75cd Remove duplicate entry from chagnelogs.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3278 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-11 05:09:52 +00:00
Marcel Molina
f5a4ba5282 Update instructions on how to find and install generators. Closes #3172.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3276 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-11 05:06:06 +00:00
David Heinemeier Hansson
4695133d8d Close h1 with h1 not h2 (closes #3150)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3272 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-10 19:58:01 +00:00
Jeremy Kemper
cebb8ff04b Name vendor/generators source differently from lib/generators source.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3265 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-09 23:41:46 +00:00
Jeremy Kemper
08309ba51a Generator looks in vendor/generators also.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3262 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-09 23:06:04 +00:00
Jeremy Kemper
b056adf03b Fix shebang handling for empty files. References #2927.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3258 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-09 18:47:23 +00:00
Jeremy Kemper
3fb5828621 Generator copies files in binary mode. References #3156.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3256 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-09 18:36:34 +00:00
David Heinemeier Hansson
9d88348e2e Warn people not to change boot.rb
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3231 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-08 03:54:50 +00:00
David Heinemeier Hansson
b4cf3f5739 Finish polish on new welcome screen
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3230 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-08 03:41:11 +00:00
Sam Stephenson
60936c5c84 Add builtin/ to the gemspec. Closes #3047.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3224 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-06 00:32:57 +00:00
Jeremy Kemper
dc64887f21 Connection cache to speed up retrieve_connection and get rid of dirty connection marking. References #428.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3218 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-04 05:56:49 +00:00
Marcel Molina
4f1e37ccd4 Add install.rb file to plugin generation which is loaded, if it exists, when you install a plugin.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3215 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-03 06:53:14 +00:00
Sam Stephenson
833d9c89fc Run initialize_logger in script/lighttpd to ensure the log file exists before tailing it
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3198 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-30 19:18:55 +00:00
Marcel Molina
191dfe8c6d Make load_fixtures include csv fixtures. Closes #3053.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3196 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-28 23:34:09 +00:00
Nicholas Seckar
ca7341d2a5 Fix freeze_gems so that the latest rails version is dumped by default
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3191 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-28 00:53:38 +00:00
Jeremy Kemper
21d50e4d1a script/plugin: handle root paths and plugin names which contain spaces. References #2995.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3175 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-23 22:24:16 +00:00
Jeremy Kemper
3e51cd8b8e Model generator: correct relative path to test_helper in unit test.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3162 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-22 21:33:56 +00:00
Sam Stephenson
1b3c9a0a56 Remove superfluous check for pluralize_table_names (use table_name which does this check when it's set).
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3159 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-22 08:59:52 +00:00
Marcel Molina
7355d9f1bd Make the db_schema_dump task honor the SCHEMA environment variable if present the way db_schema_import does. Closes #2931.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3136 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-21 08:01:41 +00:00
Sam Stephenson
2b6e2bfed7 Have the lighttpd server script report the actual ip to which the server is bound. Closes #2903.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3123 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-21 06:19:25 +00:00
Marcel Molina
9a37fd44cb Add plugin library directories to the load path after the lib directory so that libraries in the lib directory get precedence. Closes #2910.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3122 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-21 05:55:35 +00:00
Marcel Molina
f14625bb46 Make help for the console command more explicit about how to specify the desired environment in which to run the console. Closes #2911.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-21 05:33:13 +00:00
Jeremy Kemper
dfa8aa0e1e PostgreSQL: the purge_test_database Rake task shouldn't explicitly specify the template0 template when creating a fresh test database. Closes #2964.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3110 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-20 12:00:46 +00:00
Jeremy Kemper
c2bb269cd5 Allows generator to specify migrations directory. References #2960.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3101 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-20 05:13:59 +00:00
Jeremy Kemper
9b9578fa47 Introducing the session_migration generator. Creates an add_session_table migration. References #2958.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3098 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-20 04:21:06 +00:00
Jeremy Kemper
81c5242f43 r3181@asus: jeremy | 2005-11-19 02:52:24 -0800
Mark connections for verification.  Retrieve connection verifies before returning a connection.  Verification tests whether the connection is marked then reconnects if the connection is inactive.  All active connections are marked for verification after a request is handled.  References #428.


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3096 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-19 10:55:11 +00:00
Sam Stephenson
d777e506f2 Update to Prototype 1.4.0_rc4. Closes #2943 (old Array.prototype.reverse behavior can be obtained by passing false as an argument)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3091 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-19 06:59:07 +00:00
Jeremy Kemper
97d5f4acdf script/console uses RAILS_ENV environment variable if present. Closes #2932.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3083 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-18 07:33:28 +00:00
Jeremy Kemper
ae76e22731 Windows: eliminate the socket option in database.yml. Closes #2924.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3082 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-18 07:30:05 +00:00
Jeremy Kemper
db871c8d54 Eliminate nil from newly generated logfiles. References #2927.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3081 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-18 05:28:00 +00:00
Sam Stephenson
173544f56c Update to Prototype 1.4.0_rc3. Closes #1893, #2505, #2550, #2748, #2783.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3079 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-18 00:53:11 +00:00
Tobias Lütke
60e425af33 replaced constant Plugin in documentation rake task with plugin local variable. This caused typo's migrations to fail because of name space collisions [Eridius]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3069 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-17 04:58:48 +00:00
Marcel Molina
5cb2aa722d Rename Version constant to VERSION. Closes #2802.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3065 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-17 00:32:16 +00:00
Jeremy Kemper
fc51104fe2 Remove CHANGELOG from apidoc Rake task since it isn't included with new apps anymore.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3063 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-16 22:37:45 +00:00
Jeremy Kemper
4f4aa4a13b Mention app/apis and db directories in README. Closes #1616.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3042 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-15 09:49:33 +00:00
Thomas Fuchs
415d27490f Update trunk to latests script.aculo.us
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3033 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-14 20:49:10 +00:00
Jeremy Kemper
ffc4663218 Update CHANGELOG with more details. References #2842.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3012 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-13 23:39:52 +00:00
Jeremy Kemper
9318131e05 Eliminate Subversion dependencies in scripts/plugin. Correct install options. Introduce --force option to reinstall a plugin. Closes #2842.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3011 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-13 23:35:19 +00:00
Jeremy Kemper
d685e2cf18 SQLite: the clone_structure_to_test and purge_test_database Rake tasks should always use the test environment. Reference #2846.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2992 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-13 02:50:42 +00:00
Jeremy Kemper
91853b8a0d SQLite: the clone_structure_to_test Rake task should always use the test environment. References #2846.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2990 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-13 01:12:48 +00:00
David Heinemeier Hansson
9e0642a4ac Pulled auto-starting browser: More pain than gain
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2987 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-12 16:26:23 +00:00
David Heinemeier Hansson
0c048e7c6f Changelogging
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2979 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-11 10:02:44 +00:00
David Heinemeier Hansson
8e9484d3c1 Make sure that legacy db tasks also reference :database for SQLite (closes #2830) [kazuhiko@fdiary.net]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2978 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-11 09:50:42 +00:00
Jeremy Kemper
3488ff6fc6 Pass __FILE__ when evaluating plugins' init.rb. Closes #2817.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2973 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-10 16:25:06 +00:00
Jeremy Kemper
dfda57af85 Better svn status matching for generators. Closes #2814.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2972 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-10 16:14:25 +00:00
David Heinemeier Hansson
7afaa6ed55 Disabled stderr suppressing until activesupport is available also in non-gem mode
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2969 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-10 11:23:20 +00:00
David Heinemeier Hansson
bc223236a6 Don't reload routes until plugins have been loaded so they have a chance to extend the routing capabilities [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2967 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-10 10:45:39 +00:00
Nicholas Seckar
73a697c38a Don't detach or fork for script/server tailing
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2961 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-09 22:57:05 +00:00
David Heinemeier Hansson
c7e5c27b51 Added automatic browser launching on OS X when starting script/server [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2960 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-09 22:15:01 +00:00
David Heinemeier Hansson
5879a2e919 Changed all script/* to use /usr/bin/env ruby instead of hard-coded Ruby path. public/dispatcher.* still uses the hard-coded path for compatibility with web servers that dont have Ruby in path [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2959 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-09 21:15:41 +00:00
David Heinemeier Hansson
773b869088 Another word on precedence (closes #2790)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2956 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-09 15:35:37 +00:00
David Heinemeier Hansson
5c48a89a7f Force RAILS_ENV to be "test" when running tests, so that ENV["RAILS_ENV"] = "production" in config/environment.rb doesnt wreck havok [DHH] (closes #2660)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2955 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-09 15:11:55 +00:00
David Heinemeier Hansson
6422f8b463 Increase criticality in comment for ENV["RAILS_ENV"]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2953 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-09 14:03:54 +00:00
David Heinemeier Hansson
70521c8f59 Added note about precedence (closes #2790)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2949 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-09 08:37:17 +00:00
Jeremy Kemper
917189b076 Correct versioning in :freeze_gems Rake task. Closes #2778.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2941 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-08 10:43:40 +00:00
Sam Stephenson
b661c9603a Added an omnipresent RailsInfoController with a properties action that delivers an HTML rendering of Rails::Info (but only when local_request? is true). Added a new default index.html which fetches this with Ajax.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2933 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-08 04:26:34 +00:00
Scott Barron
c9ae41fe51 Adding new scripts should set them 0755.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2932 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 22:05:53 +00:00
David Heinemeier Hansson
cd2b9a9498 Made ready for 0.14.3 (RC4)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2930 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 19:40:27 +00:00
David Heinemeier Hansson
5334d89e77 Fix socket in the end
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2929 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 19:23:30 +00:00
David Heinemeier Hansson
e3abe441e9 Fix socket in the end
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2928 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 19:10:51 +00:00
David Heinemeier Hansson
a3b0de5d29 Added in bars to help guard against the production environment being used in test
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2927 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 18:36:54 +00:00
Jamis Buck
c2eb22e5c6 Add 'add_new_scripts' rake task for adding new rails scripts to script/*
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2926 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 18:09:31 +00:00
David Heinemeier Hansson
63e30a5cae Less spacing
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2925 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 18:07:05 +00:00
Jeremy Kemper
e55426a798 Raise in stubby/init.rb if it doesn't have access to directory or config. loaded_plugins is a set of plugin names (so it will be usable with multiple paths, gems, etc).
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2924 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 18:06:44 +00:00
David Heinemeier Hansson
0ceb9150d5 Dont generate config/lighttpd.conf, will be done on first run of script/server
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2923 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 18:03:30 +00:00
Jeremy Kemper
850b9c7506 Remove bogus hyphen from script/process/reaper calls to 'ps'. Closes #2767.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2922 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 17:57:21 +00:00
Jamis Buck
b49de6b74b Copy lighttpd.conf when it is first needed, instead of on app creation
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2921 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 17:45:53 +00:00
Sam Stephenson
aec5273f41 Use require_library_or_gem 'fcgi' in script/server
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2920 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 15:35:03 +00:00
Jamis Buck
fa0a5973db Restore access to 'directory' and 'config' inside the plugin eval environment
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2919 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 14:01:56 +00:00
David Heinemeier Hansson
bbe9ee13e1 Make sure to check for FCGI as well as lighttpd
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2917 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 13:31:19 +00:00
David Heinemeier Hansson
ba86b8497f Only use a socket if there
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2916 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 12:15:04 +00:00
David Heinemeier Hansson
6461318f9e Dont have password: optional in there
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2915 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 12:14:33 +00:00
David Heinemeier Hansson
b69d8f1ac6 Dont have password: optional in there
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2914 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 12:02:18 +00:00
David Heinemeier Hansson
e85e58f7a9 Added default lighttpd config in config/lighttpd.conf and added a default runner for lighttpd in script/server (works like script/server, but using lighttpd and FastCGI). It will use lighttpd if available, otherwise WEBrick. You can force either or using 'script/server lighttpd' or 'script/server webrick' [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2913 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 10:42:52 +00:00
David Heinemeier Hansson
5ca8b5fca4 Added default lighttpd config in config/lighttpd.conf and added a default runner for lighttpd in script/server (works like script/server, but using lighttpd and FastCGI). It will use lighttpd if available, otherwise WEBrick. You can force either or using 'script/server lighttpd' or 'script/server webrick' [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2912 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 10:25:36 +00:00
David Heinemeier Hansson
72add11c44 Fixed Rails generator tests (closes #2613) [torben [at] wolm.dk]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2911 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 09:59:19 +00:00
David Heinemeier Hansson
6ab9f2bb40 Fix READMEs (closes #2680) [coffee2code]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2908 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 09:51:47 +00:00
David Heinemeier Hansson
3c8d425bb2 Fail gracefully from svn checks (closes #2700) [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2907 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 09:46:40 +00:00
Jeremy Kemper
6c434e8b8e New configuration option config.plugin_paths which may be a single path like the default 'vendor/plugins' or an array of paths: ['vendor/plugins', 'lib/plugins']. Plugins are discovered in nested paths, so you can organize your plugins directory as you like. Refactor load_plugin from load_plugins. Simplify initializer unit test. Closes #2757.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2904 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 08:09:38 +00:00
Sam Stephenson
5c1eb899de Make use of silence_stderr in script/lighttpd, script/plugin, and Rails::Info
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2903 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 04:06:05 +00:00
David Heinemeier Hansson
37e2085ff1 Fail gracefully when plugin was not found [Chad Fowler]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2892 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-06 13:06:38 +00:00
David Heinemeier Hansson
c7da7a38d7 svn:externals is now an explicit option for script/plugin (closes #2755) [Ryan Tomayko]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2886 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-06 07:23:58 +00:00
Sam Stephenson
d3275cadaa Enable HTTP installation of plugins when svn isn't avaialable. Closes #2661. [Chad Fowler]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2885 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-06 01:39:32 +00:00
Sam Stephenson
55fab64391 Move info.rb to rails_info.rb and load Rails::Info after initialization
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2884 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-05 18:04:52 +00:00
Sam Stephenson
71b032a0a6 Added script/about to display formatted Rails::Info output
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2883 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-05 14:30:47 +00:00
Sam Stephenson
1f6b09f67c Added Rails::Info to catalog assorted information about a Rails application's environment
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2882 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-05 04:44:33 +00:00
Jeremy Kemper
8c4c196f56 Scaffold-generated controller action gives paginate the plural_ rather than singular_name. Closes #2743.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2879 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-05 02:59:58 +00:00
Sam Stephenson
f35792974a script/lighttpd: Detach and exit the forked process
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2877 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-04 21:54:49 +00:00
Sam Stephenson
0c512ca990 script/lighttpd: tail the logfile when running in the foreground, and attempt to guess the port number
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2875 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-04 20:58:38 +00:00
Jeremy Kemper
fad2aae72b Don't reap the spawner or reaper scripts either. Closes #2727.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2868 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-04 05:55:11 +00:00
Jeremy Kemper
f482bd5018 Don't reap spawn-fcgi. Closes #2727.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2865 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-03 22:08:56 +00:00
Jeremy Kemper
26311f6cd0 Reaper knows how to find processes even if the dispatch path is very long. Closes #2711.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2851 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-02 22:05:45 +00:00
Jamis Buck
49cd52a93f Make fcgi handler respond to TERM signals with an explicit exit
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2847 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-02 13:21:22 +00:00
David Heinemeier Hansson
a52132af58 Added demonstration of fixture use to the test case generated by the model generator [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2846 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-02 10:15:31 +00:00
Jeremy Kemper
f457ef46cf If specified, pass PostgreSQL client character encoding to createdb. Closes #2703.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2843 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-02 03:30:15 +00:00
Jeremy Kemper
1cfd25a774 Failsafe response handler for dispatcher.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2841 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-02 01:20:36 +00:00
Jeremy Kemper
b4b47e560e Simplify gem search for :freeze_gems rake task.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2840 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-01 18:56:56 +00:00
Jeremy Kemper
144f78be41 Move Dispatcher.dispatch CGI.new out of default args and into rescuable block so the dispatcher catches its errors rather than the fcgi handler.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2839 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-01 18:29:41 +00:00
Jeremy Kemper
30b9d6d28a The freeze_gems Rake task accepts the VERSION environment variable to decide which version of Rails to pull into vendor/rails.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2838 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-01 18:26:06 +00:00
Thomas Fuchs
d47f3bcbad Change javascript_include_tag :defaults to not use script.aculo.us loader, which facilitates the use of plugins for future script.aculo.us and third party javascript extensions, and provide register_javascript_include_default for plugins to specify additional JavaScript files to load. Removed scriptaculous.js, slider.js and builder.js
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2835 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-01 06:34:40 +00:00
Jeremy Kemper
aa0f382d08 We want ::Plugin, not Commands::Plugin. Closes #2664.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2831 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-30 17:26:55 +00:00
Jeremy Kemper
80a8d75bf1 The freeze_edge Rake task does smarter svn detection and can export a specific revision by passing the REVISION environment variable. For example: rake freeze_edge REVISION=1234. Closes #2663.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2830 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-30 17:17:05 +00:00
David Heinemeier Hansson
5500d13dd5 Patches go to trac now
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2828 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-30 12:58:41 +00:00
David Heinemeier Hansson
749b027ef0 Last conversion from dbfile to database
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2827 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-30 08:32:04 +00:00
David Heinemeier Hansson
c21fdf31a5 Changed :dbfile to :database for SQLite adapter for consistency (old key still works as an alias) (closes #2644) [Dan Peterson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2825 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-30 08:10:04 +00:00
Jeremy Kemper
ea44527afd Comment database.yml and include PostgreSQL and SQLite examples.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2823 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-30 04:00:18 +00:00
Jeremy Kemper
08acb95a3f Improve script/plugin on Windows. Closes #2646.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2821 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-29 23:44:25 +00:00
Jeremy Kemper
eaf296f8fc The *_plugindoc Rake tasks look deeper into the plugins' lib directories. Closes #2652.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2819 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-29 23:04:10 +00:00
Jeremy Kemper
39ada91f80 The PostgreSQL :db_structure_dump task limits its dump to the schema search path in database.yml.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2814 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-29 17:07:49 +00:00
Marcel Molina
2af3743ba2 Add task to generate rdoc for all installed plugins.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2812 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-29 15:52:07 +00:00
Thomas Fuchs
d8f0a3f93c Update script.aculo.us to V1.5_rc4
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2802 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-29 11:48:53 +00:00
Jeremy Kemper
0a6d608253 Beef up test fixtures documentation for test/test_helper.rb
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2801 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-29 07:32:33 +00:00
Jeremy Kemper
24e3dbb806 Add default Mac + DarwinPorts MySQL socket locations to the app generator.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2800 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-29 07:31:00 +00:00
Jeremy Kemper
4194384704 Don't dirty up the command delegates' base class with methods that belong in the migration generator class.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2799 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-29 04:52:59 +00:00
Jeremy Kemper
85513e37bf Migrations may be destroyed: script/destroy migration foo. Closes #2635.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2798 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-29 04:47:51 +00:00
David Heinemeier Hansson
25410d53cf Added that plugins can carry generators and that generator stub files can be created along with new plugins using script/generate plugin <name> --with-generator [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2797 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-28 23:52:34 +00:00
David Heinemeier Hansson
7376da4a2c Removed app/apis as a default empty dir since its automatically created when using script/generate web_service [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2796 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-28 22:01:11 +00:00
Sam Stephenson
5ba5eb8246 Trim down the default mimetypes in config/lighttpd.conf.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2795 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-28 21:44:52 +00:00
David Heinemeier Hansson
f78a01820d Dont hardcode
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2794 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-28 21:27:00 +00:00
David Heinemeier Hansson
0a735ca4b3 Added script/plugin to manage plugins (install, remove, list, etc) [Ryan Tomayko]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2793 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-28 21:21:07 +00:00
David Heinemeier Hansson
419794d8ba Work, but better!
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2792 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-28 20:42:00 +00:00
David Heinemeier Hansson
1832447fb6 You've been down that road, Neo. You know where it ends. And I know it's not where you want to be.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2791 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-28 20:37:21 +00:00
Jeremy Kemper
927b847239 Add Rakefile to plugin generator. Let test_plugins rake task look deeper into plugins' test dirs. Make plugin test cases flunk by default.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2790 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-28 20:28:09 +00:00
David Heinemeier Hansson
fd1d6d0eb3 Move down to 1 proc by default and a bit more help
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2789 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-28 20:09:52 +00:00
David Heinemeier Hansson
b7a2973f71 Added test_plugins task: Run the plugin tests in vendor/plugins/**/test (or specify with PLUGIN=name) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2788 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-28 19:52:28 +00:00
David Heinemeier Hansson
9ad0f08985 Added default lighttpd config in config/lighttpd.conf and added a default runner for lighttpd in script/lighttpd (works like script/server, but using lighttpd and FastCGI) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2787 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-28 17:54:07 +00:00
David Heinemeier Hansson
5f73ba11ce Added default lighttpd config in config/lighttpd.conf and added a default runner for lighttpd in script/lighttpd (works like script/server, but using lighttpd and FastCGI) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2786 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-28 17:53:47 +00:00
David Heinemeier Hansson
ef3e1928a1 Plugin tests should include test/unit
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2785 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-28 17:50:18 +00:00
David Heinemeier Hansson
66bbc4f4e6 Added plugin generator to create a stub structure for a new plugin in vendor/plugins (see "script/generate plugin" for help) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2784 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-28 16:33:25 +00:00
Jeremy Kemper
d5e48ae7d2 Use the old way of getting args to the scaffold generator and un-screwup the controller name assignment appropriately.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2783 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-28 15:42:16 +00:00
David Heinemeier Hansson
b31aa2dd57 Added app/services as a default dir in the Rails skeleton and to the load path. Use it to keep classes like MaintenanceService and PaymentGateway [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2782 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-28 13:00:33 +00:00
David Heinemeier Hansson
9bafd35375 Fixed scaffold generator when started with only 1 parameter (closes #2609) [self@mattmower.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2780 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-28 07:50:42 +00:00
David Heinemeier Hansson
706a8a8f96 rake should run functional tests even if the unit tests have failures [Jim Weirich]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2772 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-27 18:44:28 +00:00
Nicholas Seckar
e0332f59e4 Back off cleanpath to be symlink friendly. Closes #2533
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2768 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-27 17:00:25 +00:00
Sam Stephenson
f15819e8f0 Bump to Prototype 1.4.0_rc2
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2755 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-26 22:07:27 +00:00
David Heinemeier Hansson
17816a11ee Proper CSS color definition (closes #2334)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2751 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-26 13:26:51 +00:00
David Heinemeier Hansson
50f7c9a98b Load rake task files in alphabetical order so you can build dependencies and count on them (closes #2554) [Blair Zajac]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2740 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-26 12:50:29 +00:00
Florian Weber
88bc13a01d Removed the dead test settings
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2738 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-26 10:29:59 +00:00
David Heinemeier Hansson
c7a6b9862d Prepared for release of 0.14.2 (RC3)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2737 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-25 22:11:48 +00:00
Jamis Buck
cdd49c5360 Constants set in the development/test/production environment file are set in Object
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2711 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-23 13:39:24 +00:00
Jeremy Kemper
3ab3a70b7c Clarify semantics of ActiveRecord::Base#respond_to? Closes #2560.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2705 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-22 16:43:39 +00:00
Jeremy Kemper
d0a3185062 Scaffold generator pays attention to the controller name. Closes #2562.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2703 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-22 16:02:53 +00:00
David Heinemeier Hansson
3b33a6f336 Include tasks from vendor/plugins/*/tasks in the Rakefile #2545 [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2697 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-21 07:33:31 +00:00
Florian Weber
07bff0b535 Fixed misspell of "initialize_framework_settings"
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2693 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-20 09:24:18 +00:00
David Heinemeier Hansson
2555b885ed Really ready for release
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2687 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-19 14:28:55 +00:00
David Heinemeier Hansson
e3e5d60bcd Really ready for push
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2686 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-19 14:01:40 +00:00
Jamis Buck
b437eee41d Don't clean RAILS_ROOT on windows
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2685 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-19 13:47:45 +00:00
David Heinemeier Hansson
83dc37b910 Made ready to push RC2
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2684 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-19 06:24:12 +00:00
Nicholas Seckar
86bdbc3a62 Remove trailing '/' from RAILS_ROOT
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2678 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-18 14:08:54 +00:00