Commit Graph

678 Commits

Author SHA1 Message Date
Michael Koziarski
88dae72202 Load plugins in a consistent order. Closes #3429
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3420 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-14 09:15:34 +00:00
Michael Koziarski
32f89dc10b Show usage when script/plugin is called without arguments. Closes #3450
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3419 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-14 09:00:48 +00:00
Michael Koziarski
f9e0ba2913 Correct the case of the CSS declarations. [Blair Zajac] Closes #3171
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3416 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-13 21:28:51 +00:00
Michael Koziarski
35c50bf938 Fix problems with the plugin loader where plugins could override 'name' and prevent loading. Closes #3297
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3414 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-13 09:40:05 +00:00
Marcel Molina
30c6bd9b31 Make migration generator only report on exact duplicate names, not partial dupliate names. Closes #3442.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3413 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-13 09:26:53 +00:00
Marcel Molina
d40af24e20 Fix typo in mailer generator USAGE. Closes #3458.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3411 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-13 08:31:07 +00:00
Marcel Molina
16e41c6b75 Ignore version mismatch between pg_dump and the database server. Closes #3457.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3400 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-13 01:29:28 +00:00
Sam Stephenson
6fbedf2e31 Show a message on script/server exit before reaping FCGIs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3399 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-13 01:10:32 +00:00
Sam Stephenson
7fbfc5ab61 Reap FCGI processes after lighttpd exits
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3398 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-12 23:57:44 +00:00
Tobias Lütke
7ff73dfe73 fix for Initializer doc, routing is loaded last so that plugins can extend it
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3395 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-11 17:36:22 +00:00
David Heinemeier Hansson
10cf9ecafc Added assignment of the Autocompleter object created by JavaScriptMacroHelper#auto_complete_field to a local javascript variables [DHH] Added :on option for PrototypeHelper#observe_field that allows you to specify a different callback hook to have the observer trigger on [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3378 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-03 04:11:51 +00:00
David Heinemeier Hansson
d7487fffe5 Made Field.focus in prototype friendly to effects by adding optional delay parameter [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3366 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-31 04:14:07 +00:00
Thomas Fuchs
1455697ee8 Update to script.aculo.us to 1.5.0 rev. 3343
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3349 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-25 18:23:25 +00:00
David Heinemeier Hansson
cfb0babec3 Added :select option for JavaScriptMacroHelper#auto_complete_field that makes it easier to only use part of the auto-complete suggestion as the value for insertion [Thomas Fuchs]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3348 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-24 22:58:33 +00:00
Marcel Molina
56234bee14 Honor ActiveRecord::Base.pluralize_table_names when creating and destroying session store table. Closes #3204.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3317 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-18 20:20:49 +00:00
Thomas Fuchs
fc4ffbdc69 Update trunk to scriptaculous 1.5 final
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3301 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-13 18:41:58 +00:00
Sam Stephenson
a5a54ae9e3 Update to Prototype 1.4.0 final
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3297 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-13 17:51:17 +00:00
Marcel Molina
98068a71df Fix typo in benchmarker usage string.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3290 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-13 02:32:05 +00:00
Marcel Molina
93b4c0b6e1 Fix typo in profiler usage string.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3288 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-13 02:18:36 +00:00
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