Commit Graph

678 Commits

Author SHA1 Message Date
Jeremy Kemper
00656979fe r3619@sedna: jeremy | 2005-10-14 14:41:24 -0700
move scripts
 r3622@sedna:  jeremy | 2005-10-14 14:54:48 -0700
 remove script/perform and script/process in favor of script/perform/profile, etc.


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2587 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 18:58:07 +00:00
David Heinemeier Hansson
94a05920e1 Only dump schema if schema_format is :ruby
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2585 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 16:10:02 +00:00
Jeremy Kemper
86455d31f2 Sanitize benchmarker. [times] argument is optional, defaults to 1.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2583 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 14:46:27 +00:00
Jeremy Kemper
d8738be0b9 Fix commands/perform
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2582 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 14:23:01 +00:00
David Heinemeier Hansson
4a1ed01e9d Update docs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2579 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 03:28:22 +00:00
David Heinemeier Hansson
276f14444c Made them actually work
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2577 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 03:22:18 +00:00
Jamis Buck
4b78e5bddb Fix problem with RAILS_ENV being frozen when set from environment variable
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2576 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 02:51:33 +00:00
David Heinemeier Hansson
cb24c0f141 Performers go .rb
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2575 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 02:29:56 +00:00
David Heinemeier Hansson
2bb72134b5 Fix spelling
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2574 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-14 02:28:56 +00:00
David Heinemeier Hansson
c45ea78c6a Cleaned it up a bit.. Dependencies can be declared inline
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2570 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-13 20:55:05 +00:00
David Heinemeier Hansson
e646786a76 Refactored cleanly
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2564 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-13 20:04:13 +00:00
Jeremy Kemper
6627b828a1 r3576@sedna: jeremy | 2005-10-13 11:31:50 -0700
Update fcgi_dispatcher_test for old changes to the FCGI handler: processing attr was removed, USR1 behaves the same (sets when_ready = :exit) whether or not currently handling request.


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2555 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-13 19:05:48 +00:00
Jamis Buck
634da0f010 Fix script/server to use the environment given by the -e toggle
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2552 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-13 18:13:22 +00:00
Sam Stephenson
24c3599cc0 Support using different database adapters for development and test with ActiveRecord::Base.schema_format = :ruby
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2549 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-13 04:12:32 +00:00
Jamis Buck
a91423ed5b Make webrick work with session(:off)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2547 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-13 00:05:32 +00:00
Jamis Buck
de42f26df7 Make sure ENV['RAILS_ENV'] and RAILS_ENV are kept in sync
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2539 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-12 12:44:03 +00:00
Jamis Buck
42bcbcb043 Honor the runner -e toggle even if the RAILS_ENV constant has already been set
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2538 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-12 12:41:23 +00:00
David Heinemeier Hansson
6823f57b27 Use the correct scope for Rake tasks
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2536 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-12 01:07:57 +00:00
David Heinemeier Hansson
6fe5f65d87 Migrating should also dump the latest schema
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2534 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-12 00:02:11 +00:00
Sam Stephenson
e3655ef733 Fix Element.toggle logic
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2521 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-10 19:09:40 +00:00
Jamis Buck
08a010eb1b Require rails_version instead of version
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2519 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-10 16:13:49 +00:00
Jamis Buck
d40d3e0b7b mv lib/version.rb to lib/rails_version.rb
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2518 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-10 14:52:09 +00:00
Marcel Molina
68a322005d Add versioning convention from SwitchTower to all Rails components. Add --version, -v option to the 'rails' command. Closes #1840.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2508 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-09 21:15:45 +00:00
Thomas Fuchs
2ed689745c Make it clear that we are at script.aculo.us V1.5_rc3 now
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2505 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-09 17:26:24 +00:00
Thomas Fuchs
7d101d5840 Update Prototype to V1.4.0_pre11, script.aculo.us to [2502] and fix the rails generator to include the new .js files [Thomas Fuchs]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2503 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-09 16:56:23 +00:00
Marcel Molina
24b9d2fe71 Backing out of #2496. Comparing md5 checksums is in no way faster than doing a direct compare. Benchmarks help.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2497 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-08 20:12:16 +00:00
Marcel Molina
d94994867f Compare md5 checksums of files rather than files themselves, as it's far faster for large files (like logs).
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2496 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-08 19:03:08 +00:00
Marcel Molina
6b59011862 Skip directories when checking for identical source and destination files.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2495 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-08 18:57:14 +00:00
Marcel Molina
a7cdaadd19 Evaluate dynamic templates before checking if the new file is identical to the old one.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2494 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-08 18:40:00 +00:00
Marcel Molina
d451044ece Make the generator skip a file if it already exists and is identical to the new file.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2493 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-08 16:56:36 +00:00
Jeremy Kemper
31baeeef1b Look here, braces: gimme some elbow room. #2418
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2492 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-08 13:45:20 +00:00
David Heinemeier Hansson
0da7142c45 Dont repeat yourself
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2472 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-06 03:13:23 +00:00
David Heinemeier Hansson
0b70320e04 Dont include script/process dir
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2471 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-06 02:21:49 +00:00
David Heinemeier Hansson
7346f3de77 Dont include run
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2470 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-06 02:19:51 +00:00
David Heinemeier Hansson
a9f34eaa0f Backed out of script/run portal idea. Muscle memory too deep
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2469 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-06 02:05:36 +00:00
Jeremy Kemper
eb54de9992 Keep Units and Functionals around for those who don't upgrade their app right away.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2468 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-05 22:47:50 +00:00
Jamis Buck
4efdee4ea5 Load plugins last
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2467 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-05 18:31:30 +00:00
Jamis Buck
445873af19 prepend to load path before loading the plugin
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2466 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-05 18:28:34 +00:00
Jamis Buck
7a854b5379 Add experimental plugin support #2335
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2465 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-05 18:25:15 +00:00
David Heinemeier Hansson
11de94748e Run set load path so others can do boot and get path
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2429 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-30 15:13:44 +00:00
David Heinemeier Hansson
241b842be1 Update the spinner to the latest commands
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2428 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-30 13:46:14 +00:00
David Heinemeier Hansson
3b108e7d35 Dont redefine RAILS_ENV once set
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2425 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-30 11:11:21 +00:00
David Heinemeier Hansson
735f08aca0 Made the order of framework settings significant so config.action_controller.allow_concurrency can be specified before config.action_controller.fragment_cache_store, which relies on the value of the former
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2423 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-30 07:20:57 +00:00
David Heinemeier Hansson
854048a2ac Dont bitch over resetting const
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2413 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-29 12:37:44 +00:00
David Heinemeier Hansson
d219d54930 Clean up the act of commands
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2412 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-29 12:33:48 +00:00
David Heinemeier Hansson
0a0ac86845 Removed all the scripts in script/* and replaced it with one generic portal: script/run
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2411 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-29 12:18:51 +00:00
David Heinemeier Hansson
070d218c47 Going to pull all commands into Rails
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2410 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-29 11:49:56 +00:00
David Heinemeier Hansson
00e085f5a5 Solved the hanging issue.. USR2 is now the preferred way of restarting FCGIs!
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2400 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-28 19:39:12 +00:00
David Heinemeier Hansson
8e4f27a50a Solved the hanging issue.. USR2 is now the preferred way of restarting FCGIs!
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2399 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-28 19:31:41 +00:00
David Heinemeier Hansson
ac8f76b521 Dont log it twice
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2392 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-28 08:55:04 +00:00
David Heinemeier Hansson
b7faeb20e9 Added in-process restarting on USR2 -- still missing a good way to free up the socket, so not a complete solution yet.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2390 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-28 08:38:26 +00:00
Thomas Fuchs
9084f5b6e8 Forgot about CHANGELOGs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2388 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-28 08:26:06 +00:00
Thomas Fuchs
516dc2c0f1 Update script.aculo.us to 1.5_rc2, and Prototype to 1.4.0_pre7
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2386 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-28 08:20:47 +00:00
Marcel Molina
93db2f3895 Include additional ticket number that is closed by [2380].
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2382 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-28 00:21:01 +00:00
Marcel Molina
8e78e9335b Make table_name and controller_name in generators honor AR::Base.pluralize_table_names.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2380 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-28 00:06:39 +00:00
Scott Barron
e1024e50cf #2261 was supposed to have been closed as wontfix, not sure why it wasn't,
sorry.  We discussed this on IRC and reached the conclusion that it was
an undesirable addition.


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2377 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-27 23:31:32 +00:00
Jeremy Kemper
5217b90909 Ticket 2261 - Include lib/tasks/*.rake in rake stats
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2376 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-27 22:57:05 +00:00
Jeremy Kemper
0c23f06129 Update change log for #2297
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2374 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-27 22:10:33 +00:00
Jeremy Kemper
ec019d7bc1 Ticket 2297 - rake stats clearly labels functional and unit tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2373 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-27 22:09:21 +00:00
Sam Stephenson
72c3ffc7fb Make the migration generator only check files ending in *.rb when calculating the next file name #2317 [Chad Fowler]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2362 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-27 10:47:47 +00:00
David Heinemeier Hansson
7f86e026f6 Use assignment instead of call
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2327 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-25 08:48:30 +00:00
David Heinemeier Hansson
948be2c998 Added new symbol-driven approach to activating observers with Base#observer [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2326 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-25 08:26:29 +00:00
David Heinemeier Hansson
6d336753b9 Added prevention of duplicate migrations from the generator #2240 [fbeausoleil@ftml.net]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2320 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-24 08:42:38 +00:00
Jamis Buck
119855c438 Add db_schema_dump and db_schema_import rake tasks to work with the new ActiveRecord::SchemaDumper (for dumping a schema to and reading a schema from a ruby file).
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2313 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-23 13:45:32 +00:00
David Heinemeier Hansson
436d54c3f1 Only configure settings for loaded frameworks
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2304 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-22 14:11:13 +00:00
David Heinemeier Hansson
6a51940117 Fixed memory leak with Active Record classes when Dependencies.mechanism = :load #1704 [c.r.mcgrath@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2276 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-20 11:23:13 +00:00
David Heinemeier Hansson
a41619681f Include suggestion for using different socket #1951 [NVRS]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2272 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-20 10:04:12 +00:00
David Heinemeier Hansson
5da4c39782 Make the reaper slightly more robust in the nudging department
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2264 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-19 16:40:53 +00:00
David Heinemeier Hansson
9cc624df73 Include ActionView as a configurable framework
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2261 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-19 08:18:21 +00:00
David Heinemeier Hansson
2eb29c231a Include libs/ in rake stats #2223 [Marcel Molina]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2260 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-19 06:50:47 +00:00
David Heinemeier Hansson
dfd0bdf1a0 Fixed that generate scaffold claims all words are reserved #2200, #2211 [alancfrancis@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2253 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-17 06:36:04 +00:00
Jamis Buck
1fb8ba7592 Don't set the :MimeTypes option if it is nil (causes routing errors on stylesheets and javascripts, somehow)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2251 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-15 22:51:43 +00:00
David Heinemeier Hansson
3e7b597ff4 Cant use silence_warnings before active support is loaded
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2250 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-15 08:25:46 +00:00
David Heinemeier Hansson
428e0f4e63 Added check for RAILS_CONNECTION_ADAPTERS on startup and only load the connection adapters specified within if its present (available in Rails through config.connection_adapters using the new config) #1958 [skae]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2249 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-15 06:42:07 +00:00
David Heinemeier Hansson
40b7809de5 Added check for RAILS_CONNECTION_ADAPTERS on startup and only load the connection adapters specified within if its present (available in Rails through config.connection_adapters using the new config) #1958 [skae]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2248 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-15 06:40:39 +00:00
David Heinemeier Hansson
a20ad655b5 Moved session and fragment options out
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2238 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-13 19:46:42 +00:00
David Heinemeier Hansson
0f8a3a31a7 Only include dirs that exists in the stats
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2236 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-13 18:43:23 +00:00
David Heinemeier Hansson
c9c0d74b5d Reformed all the config/environments/* files to conform to the new Rails::Configuration approach. Fully backwards compatible.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2235 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-13 10:23:28 +00:00
David Heinemeier Hansson
514e6704f3 Make it easy to go UTC
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2234 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-13 10:22:57 +00:00
David Heinemeier Hansson
6a0e41c158 Reformed environments files to the new config style
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2232 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-13 10:07:37 +00:00
David Heinemeier Hansson
6e8e9c20cb Control depedency mechanism, breakpoints, and whiny nils through the config
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2231 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-13 09:58:16 +00:00
David Heinemeier Hansson
a65835968e Fixed pointer to tasks location #2175
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2226 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-13 06:15:50 +00:00
David Heinemeier Hansson
284570fd00 Make it even easier to set a new session store and use symbols for log level too
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2224 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-12 18:05:46 +00:00
David Heinemeier Hansson
87e7ed8aef Added Rails::Configuration support for fragment stores
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2223 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-12 17:49:07 +00:00
David Heinemeier Hansson
691f95e448 Use session_id instead of deprecated sessid
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2222 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-12 17:36:43 +00:00
David Heinemeier Hansson
c259ed9e02 Use session_id instead of deprecated sessid
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2221 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-12 17:35:17 +00:00
David Heinemeier Hansson
0d97f055c2 Sessions with an s
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2220 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-12 17:32:36 +00:00
David Heinemeier Hansson
d25fe84a01 Added create_session_table, drop_session_table, and purge_session_table as rake tasks for databases that supports migrations (MySQL, PostgreSQL, SQLite) to get a table for use with CGI::Session::ActiveRecordStore. Added configuration of session options through config.session_options in Rails::Configuration
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2219 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-12 17:30:40 +00:00
David Heinemeier Hansson
a16528f715 Added dump of schema version to the db_structure_dump task for databases that support migrations #1835 [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2215 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-12 05:33:18 +00:00
David Heinemeier Hansson
17250c9157 Fixed script/profiler for Ruby 1.8.2 #1863 [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2199 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-11 09:17:38 +00:00
David Heinemeier Hansson
e234115b63 Fixed clone_structure_to_test task for SQLite #1864 [jon@burningbush.us]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2198 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-11 09:16:48 +00:00
David Heinemeier Hansson
dc2a3af133 Dont encourage custom url options to be called with symbol #2047
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2190 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-11 07:25:08 +00:00
David Heinemeier Hansson
e2ba2069e7 Moved config/tasks to lib/tasks and added more documentation to environment.rb
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2189 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-11 07:01:33 +00:00
David Heinemeier Hansson
72ef2bed01 Fixed missing ds
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2188 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-11 06:26:38 +00:00
David Heinemeier Hansson
3cf7a0a460 Added Kernel#silence_warnings and puts it into use throughout the framework
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2179 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-11 04:58:27 +00:00
David Heinemeier Hansson
4836c4081d Fix problem with mime type defaults #2165 [Michael Shuerig]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2177 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-11 04:17:14 +00:00
David Heinemeier Hansson
17ef7067c8 Added -m/--mime-types option to the WEBrick server, so you can specify a Apache-style mime.types file to load #2059 [ask@develooper.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2175 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-09 09:07:43 +00:00
David Heinemeier Hansson
b33557b622 Added -c/--svn option to the generator that'll add new files and remove destroyed files using svn add/revert/remove as appropriate #2064 [kevin.clark@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2174 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-09 09:02:55 +00:00
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
8367316826 Proper clean rakefile
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2116 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-03 15:20:42 +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
49c67ea1b7 Don't require the environment just to clear the logs #2093 [Scott Barron]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2092 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-01 21:36:50 +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
Jamis Buck
b9cae60e85 More rails-switchtower decoupling
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2080 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-31 07:46:37 +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
Jamis Buck
b4a5b27bf6 Allow the --toggle-spin switch on process/reaper to be negated
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2049 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-24 17:30:00 +00:00
David Heinemeier Hansson
6a4d4460ea Made SwitchTower conform to the other Rakefiles in terms of PKG description and beta gems pushing
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2045 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-24 09:22:20 +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
7f32e83f25 When copying the config files, also transform and copy the default deploy.rb script
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2029 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-17 17:22:03 +00:00
Jamis Buck
6050dfc46b Make the rakefile tasks that set up a new project aware of switchtower
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2028 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-17 17:17:18 +00:00
Jamis Buck
cc0105cef9 Added -w flag to ps in process/reaper #1934 [Scott Barron]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1995 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-08-12 20:30:26 +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
5b8b9178b3 Made the reaper talk to the spinner to make it spin faster during restarts and slower afterwards
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1931 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-26 12:39:44 +00:00
David Heinemeier Hansson
852e5a435d Made Oracle a first-class connection adapter by adhering closer to idiomatic Oracle style #1798 [The Gang of Oracles]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1913 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-24 14:05:09 +00:00
David Heinemeier Hansson
b25f9af998 Allow ERb in the database.yml file (just like with fixtures), so you can pull out the database configuration in environment variables #1822 [Duane Johnson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1910 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-24 08:16:07 +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
9b0b66b7b7 Added load_fixtures task to the Rakefile, which will load all the fixtures into the database for the current environment #1791 [Marcel Molina]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1879 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-22 06:43:03 +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
7ebdecfb89 Add comment in config/environment.rb explaining $KCODE and UTF-8 #1726 [Leon Bredt]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1875 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-22 06:08:58 +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
b66b1fff12 Reminder for dangers with Alias and mod_rewrite #1752 [dave@cherryville.org]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1846 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-17 09:22:19 +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
David Heinemeier Hansson
f45d8d81bf Turned off the test task as it breaks all others for now
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1836 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-15 08:49:24 +00:00
David Heinemeier Hansson
7073abe159 Fixed bug with :success/:failure callbacks for the JavaScriptHelper methods #1730 [court3nay/Thomas Fuchs]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1835 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-14 11:38:55 +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
4259199c2c Made ready for release of 0.13.1
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1814 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-11 07:36:18 +00:00
David Heinemeier Hansson
1666977490 Script.aculo.us: latest rev, new autocompleter features, memory leaks fixed #1695 [Thomas Fuchs]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1810 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-11 05:17:22 +00:00
Sam Stephenson
1911f8eee9 Update Railties to Prototype 1.3.1
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1807 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-11 03:46:22 +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
34cbf15e72 Added support for SQL Server in the database rake tasks #1652 [ken.barker@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1785 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-09 17:05:01 +00:00
David Heinemeier Hansson
165f82d180 Added even more goodies to script.aculo.us #1677 [Thomas Fuchs]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1783 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-09 17:01:12 +00:00
David Heinemeier Hansson
14f06c2cc1 Fixed SQL Server test #1678 [Tom Ward]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1782 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-09 16:59:35 +00:00
David Heinemeier Hansson
47a3bafe26 Added a VERSION parameter to the migrate task that allows you to do "rake migrate VERSION=34" to migrate to the 34th version traveling up or down depending on the current version. Added ActiveRecord::Migrator.migrate that can figure out whether to go up or down based on the target version and the current
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1780 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-09 15:46:29 +00:00
Jeremy Kemper
4bed0ab99d r2960@asus: jeremy | 2005-07-09 02:12:35 -0700
Ticket 1674 - Ruby version check
 r2961@asus:  jeremy | 2005-07-09 02:50:54 -0700
 Require RAILS_VERSION >= 1.8.2 and RAILS_RELEASE_DATE >= 2004-12-25.
 r2962@asus:  jeremy | 2005-07-09 02:54:49 -0700
 minimum_release -> min_release typo
 r2963@asus:  jeremy | 2005-07-09 02:56:14 -0700
 updated changelog


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1778 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-09 05:04:19 +00:00
Jeremy Kemper
17041729c2 r2951@asus: jeremy | 2005-07-08 18:09:30 -0700
Courtenay documentation and error message patches.
 r2952@asus:  jeremy | 2005-07-08 18:43:10 -0700
 Document environment config files.
 r2955@asus:  jeremy | 2005-07-08 19:00:26 -0700
 Updated changelog


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1775 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-08 21:13:29 +00:00
David Heinemeier Hansson
94209e2fb7 Added a bunch of script.aculo.us features: Effect.ScrollTo, to smoothly scroll the page to an element, better Firefox flickering handling on SlideUp/SlideDown, Removed a possible memory leak in IE with draggables, Added support for cancelling dragging my hitting ESC #1644 [Thomas Fuchs]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1759 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-07 14:18:16 +00:00
David Heinemeier Hansson
863948fcaa Post release minor fixes
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1753 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-07 06:39:48 +00:00
David Heinemeier Hansson
a0d31fcd81 Pegged the versions for release
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1739 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-06 12:48:14 +00:00
David Heinemeier Hansson
bd11ca3775 Keep JS files locally
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1737 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-06 11:30:48 +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
707106f347 Added fixed gateway script [Nicholas Seckar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1721 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-06 04:29:18 +00:00
David Heinemeier Hansson
3170295136 Added warning about setting the test database to the same as production or development #1619 [court3nay]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1720 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-06 04:20:08 +00:00
David Heinemeier Hansson
977b4be208 Changed logging of SQL statements to use the DEBUG level instead of INFO. Added logging of the request URI in the benchmark statement (makes it easy to grep for slow actions). Changed the default logging level in config/environment.rb to INFO for production (so SQL statements won't be logged)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1714 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-05 17:23:41 +00:00
David Heinemeier Hansson
6eee49aa2e Backed out of create/destroy_db -- didnt yet work right in mysql and breaks AWD
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1702 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-05 09:15:21 +00:00
David Heinemeier Hansson
91afb9298b Added create_db and destroy_db tasks in the Rakefile to make it easier to load the dumped structure into the database #1587 [Sam Stephenson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1701 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-05 07:58:13 +00:00
David Heinemeier Hansson
1a7377a984 Made gateway.cgi work with a ruby called anything
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1678 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-04 19:49:40 +00:00
David Heinemeier Hansson
9e4f5f3397 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@1676 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-04 19:16:28 +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
5dedf62dda Documented the migration support in railties
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1673 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-04 18:53:28 +00:00
David Heinemeier Hansson
07afb1fd42 Made it even easier to turn on transactional fixtures
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1658 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-04 09:27:55 +00:00
David Heinemeier Hansson
e04e82ba82 Made it even easier to turn on transactional fixtures
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1657 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-04 09:24:31 +00:00
David Heinemeier Hansson
c570ebc143 Added migrate task to default rakefile (this is still a sqlite/mysql feature only, please do pitch in)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1656 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-04 09:22:12 +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
David Heinemeier Hansson
c2060719d3 Added a DOCTYPE of HTML transitional to the HTML files generated by Rails #1124 [Michael Koziarski]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1605 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-02 11:21:25 +00:00
David Heinemeier Hansson
12ff2f76da Rake task to update spin off libraries #1514 [Tobias Luetke]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1599 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-07-02 06:23:35 +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
Jamis Buck
5205e08e76 Had some logic backwards in the new dispatch.fcgi handler
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1540 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-27 11:32:39 +00:00
Jamis Buck
d8472f0b6e RailsFCGIHandler (dispatch.fcgi) no longer tries to explicitly flush $stdout (CgiProcess#out always calls flush)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1538 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-27 09:38:03 +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
66d99c913e Removing javascripts to make it an svn:externals instead
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1521 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-26 11:52:29 +00:00
David Heinemeier Hansson
e15207f497 Added help text for WEBrick #1508 [courtney]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1515 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-26 04:45:30 +00:00
David Heinemeier Hansson
55850818e3 Fixed rakefile actions against PostgreSQL when the password is all numeric #1462 [michael@schubert.cx]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1508 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-25 11:19:47 +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
David Heinemeier Hansson
e4ccbf28c8 Fixed prototype to consider all fields it doesn't know as text (such as Safari's search) just like the browser in its serialization #1497 [Sean Treadway]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1503 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-25 10:48:28 +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
Jamis Buck
ce44079818 Missing parameter for trap_handler in dispatch.fcgi
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1481 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-22 11:26:00 +00:00
Jamis Buck
64e61348e5 Updated changelog for [1479]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1480 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-22 11:20:39 +00:00
Jamis Buck
f69f384872 Refactored dispatch.fcgi. Added unit tests for dispatch.fcgi. Added trap to recognize HUP as a graceful termination command.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1479 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-22 11:18:01 +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
2533799e81 Added a 'whiny nil' that's aim to ensure that when users pass nil to methods where that isn't appropriate, instead of NoMethodError? and the name of some method used by the framework users will see a message explaining what type of object was expected. Only active in test and development environments by default #1209 [Michael Koziarski]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1454 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-18 05:34:16 +00:00
David Heinemeier Hansson
bdf51f9582 Revealed the man behind the mask!
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1443 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-16 06:46:22 +00:00
David Heinemeier Hansson
70757cb273 Fix spelling
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1436 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-16 06:12:15 +00:00
David Heinemeier Hansson
791e66b2da Fixed the test_helper.rb to be safe for requiring controllers from multiple spots, like app/controllers/article_controller.rb and app/controllers/admin/article_controller.rb, without reloading the environment twice #1390 [Nicholas Seckar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1435 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-16 06:08:55 +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
David Heinemeier Hansson
4351419ba5 Added -e/--environment option to script/runner #1408 [fbeausoleil@ftml.net]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1430 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-06-16 05:50:24 +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
ca873648ea Added graceful exit from pressing CTRL-C during the run of the rails command #1150 [Caleb Tennis]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1341 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-05-21 11:05:18 +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
7ec91d4651 Fixed Form.disable in Prototype #1317 [Wintermute]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1311 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-05-19 16:45:53 +00:00
David Heinemeier Hansson
6ea6a725c4 Push to .org instead
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1310 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-05-19 16:42:47 +00:00
David Heinemeier Hansson
358a669390 Added better error handling for regexp caching expiration
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1288 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-05-06 05:09:01 +00:00
David Heinemeier Hansson
6c473eb410 Made dispatch.fcgi more robust by catching fluke errors and retrying unless its a permanent condition. [Jamis Buck] Allow graceful exits for dispatch.fcgi processes by sending a SIGUSR1. If the process is currently handling a request, the request will be allowed to complete and then will terminate itself. If a request is not being handled, the process is terminated immediately (via #exit). This basically works like restart graceful on Apache. [Jamis Buck]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1284 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-05-04 11:10:13 +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
41bc063e17 Prepared for 0.12.1
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1233 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-04-19 17:18:36 +00:00
David Heinemeier Hansson
77af61be40 Added xml_http_request/xhr method for simulating XMLHttpRequest in functional tests #1151 [Sam Stephenson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1230 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-04-19 16:34:44 +00:00
Sam Stephenson
71a616890b Update to Prototype 1.2.1
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1228 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-04-19 11:16:50 +00:00
David Heinemeier Hansson
7d01005514 Fixed documentation and prepared for release of 0.12
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1216 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-04-18 20:10:11 +00:00
David Heinemeier Hansson
bd441bb066 Updated to take compilation out of the measurements
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1214 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-04-18 19:03:25 +00:00
David Heinemeier Hansson
9aaea3ba73 More documentation for .htaccess #1137
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1213 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-04-18 18:57:56 +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
Sam Stephenson
d547c3f5ec Update to Prototype 1.2.0
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1198 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-04-18 02:16:13 +00:00
David Heinemeier Hansson
154668898a Fixed that purge_test_database would use database settings from the development environment when recreating the test database #1122 [rails@cogentdude.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1187 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-04-17 10:00:37 +00:00
David Heinemeier Hansson
c3ca5ab7a8 Added Element.toggle, Element.show, and Element.hide to the prototype javascript library. Toggle.display has been deprecated, but will still work #992 [Lucas Carlson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1181 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-04-17 07:52:50 +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
ecf82d127b Added Rake target clear_logs that'll truncate all the *.log files in log/ to zero #1079 [Lucas Carlson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1157 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-04-13 05:32:21 +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
1ee780b3bb Fixed that ownership is brought over in pg_dump during tests for PostgreSQL #1060 [pburleson@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1135 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-04-10 17:32:03 +00:00
David Heinemeier Hansson
1a22fb59c9 Added JavascriptHelper#periodically_call_remote in order to create areas of a page that update automatically at a set interval #945 [Jon Tirsen]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1108 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-04-07 06:43:21 +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
bd9a81ca2d Moved to new server
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1102 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-04-07 06:20:54 +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
8499c24770 Added Effect.Puff and Effect.Appear #990, #996
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1046 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-31 11:53:06 +00:00
David Heinemeier Hansson
c73a414a9a Fixed references to element
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1034 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-28 23:57:43 +00:00
David Heinemeier Hansson
ce2fe88d53 Added Effect.Scale for smoothly scaling images or text up and down #972 [thomas@fesch.at] Added Effect.Squish for scaling down an element and making it disappear at the end #972 [thomas@fesch.at]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1033 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-28 23:32:24 +00:00
David Heinemeier Hansson
b0c0c9c2ef Added Effect.Fade which smoothly turns opacity from 100 to 0 and then hides the element #960 [thomas@fesch.at]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1032 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-28 10:22:44 +00:00
David Heinemeier Hansson
9a3e8dc83e Fixed doc links
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1025 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-27 16:04:57 +00:00
David Heinemeier Hansson
1b17cddc3c Released 0.11.1
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1024 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-27 15:07:27 +00:00
David Heinemeier Hansson
04c7e82369 Made ready for the release of 0.11.1
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1023 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-27 14:10:42 +00:00
David Heinemeier Hansson
065cb2a08d Made ready for better release automation
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1021 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-27 13:33:54 +00:00
David Heinemeier Hansson
92088a920b Effects can just be used through the callbacks
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1014 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-26 23:43:29 +00:00
David Heinemeier Hansson
4c3d52ad66 Updated to prototype.js 1.1.0
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1012 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-26 23:16:55 +00:00
David Heinemeier Hansson
8e76a5920e Added other DOM manipulation positions than just replace
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1006 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-26 15:35:06 +00:00
David Heinemeier Hansson
9ca9f95aee Fixed Form.Serialize for the JavascriptHelper to also seriliaze password fields #934 [dweitzman@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1003 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-26 14:07:08 +00:00
David Heinemeier Hansson
eb27b7443b Copy prototype.js to public/javascripts/ not just public
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@993 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-26 11:34:11 +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
4043b5cdb3 Fixed the dispatch.fcgi use of a logger
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@981 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-23 00:54:05 +00:00
David Heinemeier Hansson
61d236d941 Dont include WS docs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@978 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-22 13:36:04 +00:00
David Heinemeier Hansson
fd95719c98 Releasing 0.11.0
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@977 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-22 13:29:22 +00:00
David Heinemeier Hansson
daaa5251c9 Fixed documentation and prepared for 0.11.0 release
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@976 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-22 13:09:44 +00:00
David Heinemeier Hansson
6ad1b895f4 Updated more documentation
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@975 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-22 12:41:34 +00:00
David Heinemeier Hansson
4e60fe3ef3 Added documentation and fixed an ajax bug
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@974 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-03-22 12:33:47 +00:00