Commit Graph

12490 Commits

Author SHA1 Message Date
David Heinemeier Hansson
dc3d6eb9b4 Moved Active Support into its own gem
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@624 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 15:57:44 +00:00
David Heinemeier Hansson
5e0223ae21 No leading return
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@621 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 13:41:28 +00:00
David Heinemeier Hansson
b072965930 Updated the Rails generator command to work
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@620 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 13:09:18 +00:00
David Heinemeier Hansson
b1999be5a7 A hopefully more successful attempt at the Routing branch merge
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@617 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 01:45:35 +00:00
David Heinemeier Hansson
88a3343ed5 Backed out of routing merge.. investigating missing patches
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@616 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 01:24:55 +00:00
David Heinemeier Hansson
c844755e5a Merged back the Routing branch
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@614 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-15 00:51:02 +00:00
David Heinemeier Hansson
098fa94356 Fixed documentation snafus #575, #576, #577, #585
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@525 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-07 14:15:53 +00:00
David Heinemeier Hansson
aef06f3b60 Added that running test_units and test_functional now performs the clone_structure_to_test as well #566 [rasputnik]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@523 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-07 14:08:38 +00:00
David Heinemeier Hansson
daee6fd92a Added new generator framework that informs about its doings on generation and enables updating and destruction of generated artifacts. See the new script/destroy and script/update for more details #487 [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@518 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-02-07 13:14:05 +00:00
David Heinemeier Hansson
ac8ebc19be Prepared for 0.9.5 release
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@515 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-25 20:10:24 +00:00
David Heinemeier Hansson
10220d356d Fixed dependency reloading by switching to a remove_const approach where all Active Records, Active Record Observers, and Action Controllers are reloading by undefining their classes. This enables you to remove methods in all three types and see the change reflected immediately and it fixes #539. This also means that only those three types of classes will benefit from the const_missing and reloading approach. If you want other classes (like some in lib/) to reload, you must use require_dependency to do it.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@511 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-25 18:45:06 +00:00
David Heinemeier Hansson
be80d460f7 Moved subclass reloading responsibilities to Dependencies
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@509 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-25 18:20:23 +00:00
David Heinemeier Hansson
ee662e9768 New approach to reloading that uses remove_const on ARs and AOs as well as ACs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@507 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-25 18:00:15 +00:00
David Heinemeier Hansson
453bc7346d Fixed that /Recipe/new and /recipe/new points to the same thing [Lyle Johnson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@500 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-24 16:19:29 +00:00
David Heinemeier Hansson
505e2d99da Added Florian Gross' latest version of Breakpointer and friends that fixes a variaty of bugs #441 [Florian Gross]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@492 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-24 13:41:57 +00:00
David Heinemeier Hansson
2257980c50 Fixed skeleton Rakefile to work with sqlite3 out of the box #521 [rasputnik]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@490 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-24 13:12:40 +00:00
David Heinemeier Hansson
6d7175d6cc Fixed that script/breakpointer didn't get the Ruby path rewritten as the other scripts #523 [brandt@kurowski.net]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@486 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-24 11:59:22 +00:00
David Heinemeier Hansson
3d1e8dde9d Fixed handling of syntax errors in models that had already been succesfully required once in the current interpreter. Fixed superclass mismatch and other controller related problems by not using dependency reloading for controllers.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@482 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-24 10:58:17 +00:00
David Heinemeier Hansson
f31291ab5a Another swing at reloading
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@479 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-24 00:26:44 +00:00
David Heinemeier Hansson
0942bfa7a9 Brought back reloading of models
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@478 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-23 19:42:40 +00:00
David Heinemeier Hansson
38ee39a4a5 Fixed that generate scaffold would produce bad functional tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@474 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-22 14:39:03 +00:00
David Heinemeier Hansson
01ead94d0b Flipped reloads around
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@471 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-20 15:35:20 +00:00
David Heinemeier Hansson
99598820cf Fixed that FCGI can also display SyntaxErrors
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@470 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-20 15:29:11 +00:00
David Heinemeier Hansson
a5364fb3ac Made ready for release of 0.9.4.1
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@458 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-18 14:13:12 +00:00
David Heinemeier Hansson
652f1ef02f Added 5-second timeout to WordNet alternatives on creating reserved-word models #501 [Marcel Molina]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@455 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-18 09:58:48 +00:00
David Heinemeier Hansson
ecfe77f38d CHANGELOGs..
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@448 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-17 17:31:15 +00:00
David Heinemeier Hansson
58f920fecd Made methods class level methods again
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@445 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-17 17:01:35 +00:00
David Heinemeier Hansson
1e3b5b1fcb Tagged the 0.9.4 release
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@444 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-17 02:30:07 +00:00
David Heinemeier Hansson
1dbb4adec1 Made a bunch of stuff quiet in the docs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@441 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-17 01:29:45 +00:00
David Heinemeier Hansson
e1374f7b17 Made ready for release of 0.9.4
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@440 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-17 01:17:26 +00:00
David Heinemeier Hansson
ddcc400293 Made ready for release of 0.9.4
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@439 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-17 01:13:15 +00:00
David Heinemeier Hansson
9577f0f57c Fixed up some docs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@438 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-17 01:05:14 +00:00
David Heinemeier Hansson
954fd97d00 New adventures in dependency reloading
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@430 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-16 17:56:42 +00:00
David Heinemeier Hansson
ee014ef95a New adventures in dependency reloading
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@429 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-16 17:50:36 +00:00
David Heinemeier Hansson
e59f1b5249 Went back to original breakpointing as I couldnt make the patches from flgr work
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@425 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-15 21:28:02 +00:00
David Heinemeier Hansson
c46e390920 Fixed some breakpoint issues and made breakpoint_client depend on activerecord/support instead of duplicating the files in railties #441 [Florian Gross]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@424 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-15 21:10:26 +00:00
David Heinemeier Hansson
fb13b7a495 Removed the Ruby 1.8.2 test/unit fix as it didnt work anyway
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@423 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-15 20:55:19 +00:00
David Heinemeier Hansson
2aac6d90fe Flipped code-to-test ratio around to be more readable #468 [Scott Baron]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@420 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-15 18:19:51 +00:00
David Heinemeier Hansson
62f0512e54 Fixed log file permissions to be 666 instead of 777 (so they're not executable) #471 [Lucas Carlson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@416 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-15 17:28:01 +00:00
David Heinemeier Hansson
6c1fe632a3 Fixed that auto reloading would some times not work or would reload the models twice #475 [Tobias Luetke]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@408 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-15 13:26:48 +00:00
David Heinemeier Hansson
c755b29a86 Fixed page caching problems with saving cached file fails for the index action and that it shouldnt cache files with GET/POST parameters #462
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@407 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-15 13:22:58 +00:00
David Heinemeier Hansson
52251baae4 Added the option to specify a controller name to "generate scaffold" and made the default controller name the plural form of the model.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@404 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-13 15:49:26 +00:00
David Heinemeier Hansson
dbb5341691 Added that rake clone_structure_to_test, db_structure_dump, and purge_test_database tasks now pick up the source database to use from RAILS_ENV instead of just forcing development #424 [Tobias Luetke]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@379 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-11 00:07:35 +00:00
David Heinemeier Hansson
59c2a4d511 Fixed script/console to work with Windows (that requires the use of irb.bat) #418 [octopod]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@375 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-10 23:47:32 +00:00
David Heinemeier Hansson
590ea2930d Added inclusion of fix for test/unit and rake problems with Ruby 1.8.2
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@361 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-10 00:33:03 +00:00
David Heinemeier Hansson
7145046493 Added rewrite conditions needed for page caching to work
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@348 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-08 23:46:29 +00:00
David Heinemeier Hansson
70039d1e91 Fixed WEBrick servlet slowdown over time by restricting the load path reloading to mod_ruby #372
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@342 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-06 15:56:57 +00:00
David Heinemeier Hansson
f92ae75a23 Removed Fancy Indexing as a default option on the WEBrick servlet as it made it harder to use various caching schemes
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@337 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-04 22:50:15 +00:00
David Heinemeier Hansson
0dd43e3868 Include package dependency information
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@335 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-04 12:48:09 +00:00
David Heinemeier Hansson
395a25c47d Upgrade the dependencies of the Rails gem
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@334 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-04 12:37:45 +00:00
David Heinemeier Hansson
f2e6945b25 Prepared for release of 0.9.3
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@333 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-04 12:35:10 +00:00
David Heinemeier Hansson
02c21bc986 Added support for SQLite in the auto-dumping/importing of schemas for development -> test #416
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@325 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-03 23:15:22 +00:00
David Heinemeier Hansson
b3739fca2c Nuke the controllers after the dispatcher reload to avoid the superclass mismatch problem
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@323 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-02 23:42:21 +00:00
David Heinemeier Hansson
375568b7cb Fixed problems with dependency caching and controller hierarchies on Ruby 1.8.2 in development mode #351
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@317 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-02 18:32:56 +00:00
David Heinemeier Hansson
07989b64f4 Added automated rewriting of the shebang lines on installs through the gem rails command #379 [Manfred Stienstra]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@300 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-01-01 18:10:10 +00:00
David Heinemeier Hansson
43f5ab93e0 Fixed that generated action_mailers doesnt need to require the action_mailer since thats already done in the environment #382 [Lucas Carlson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@287 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-31 16:38:24 +00:00
David Heinemeier Hansson
26b7cb7506 Updated Rakefiles for the server move
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@283 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-30 00:26:14 +00:00
David Heinemeier Hansson
3d691ab390 Fixed dependency management to happen in a unified fashion for Active Record and Action Pack using the new Dependencies module. This means that the environment options needs to change.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@282 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-30 00:20:52 +00:00
David Heinemeier Hansson
fa1f5e062e Switch dispatcher to use the new shared Dependencies approach
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@280 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-29 21:26:20 +00:00
David Heinemeier Hansson
3755816266 Added ActionMailer::Base.deliver_method = :test to the test environment so that mail objects are available in ActionMailer::Base.deliveries for functional testing.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@268 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-23 23:34:39 +00:00
David Heinemeier Hansson
f6d2bc30fe Added ActionMailer::Base.raise_delivery_errors = false to the test environment as we checks will be performed against deliveries array instead.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@267 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-23 19:12:07 +00:00
David Heinemeier Hansson
8e413262d6 WordNet not Nets
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@265 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-23 01:11:41 +00:00
David Heinemeier Hansson
1f94ac2c45 Touched up wording on the new recommendation stuff for generate models
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@264 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-23 01:08:51 +00:00
David Heinemeier Hansson
4ff4afa579 Added protection for creating a model through the generators with a name of an existing class, like Thread or Date. It'll even offer you a synonym using wordnet.princeton.edu as a look-up. No, I'm not kidding :) [Florian Gross]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@263 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-23 00:52:34 +00:00
David Heinemeier Hansson
d9c0a37f37 Releasing Rails 0.9.2
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@260 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-22 23:56:17 +00:00
David Heinemeier Hansson
a89e36a22a You should redirect externally on the default action
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@255 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-22 14:38:36 +00:00
David Heinemeier Hansson
78c6de9daf Fixed CTRL-C exists from the Breakpointer to be a clean affair without error dumping [Kent Sibilev]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@246 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-22 13:17:35 +00:00
David Heinemeier Hansson
ebf2b12b07 Fixed "rake stats" to work with sub-directories in models and controllers and to report the code to test ration [Scott Baron]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@245 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-22 13:08:26 +00:00
David Heinemeier Hansson
3f3cbb51dc The dispatcher should reload the associations AFTER clearing the inheritable variables, not before, or callbacks and others wont work
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@243 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-22 02:00:41 +00:00
David Heinemeier Hansson
8537d5eb93 Added a require_association hook on const_missing that makes it possible to use any model class without requiring it first. Added that Active Record associations are now reloaded instead of cleared to work with the new const_missing hook in Active Record.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@233 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-20 13:21:01 +00:00
David Heinemeier Hansson
b586c7a97a Added graceful handling of an inaccessible log file by redirecting output to STDERR with a warning #330 [rainmkr]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@223 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-19 13:29:39 +00:00
David Heinemeier Hansson
3b56b85906 Updated the documentation #329 [rainmkr]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@222 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-19 13:10:18 +00:00
David Heinemeier Hansson
d19b1810db Added support for a -h/--help parameter in the generator #331 [Ulysses]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@219 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-19 12:55:22 +00:00
David Heinemeier Hansson
bb9975fbc7 File.expand_path in config/environment.rb would fail when dealing with symlinked public directories [mjobin].
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@208 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-18 00:47:30 +00:00
David Heinemeier Hansson
cf78e736d2 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@205 5ecf4fe2-1ee6-0310-87b1-e25e094e27de 2004-12-17 18:59:12 +00:00
David Heinemeier Hansson
0f3c6b179c git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@203 5ecf4fe2-1ee6-0310-87b1-e25e094e27de 2004-12-17 00:45:25 +00:00
David Heinemeier Hansson
60fad97551 Upgraded to Action Pack 1.0.1 for important bug fix. Updated gem dependencies.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@202 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-17 00:42:53 +00:00
David Heinemeier Hansson
df1c6995f7 Cut down on the documentation visible
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@200 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-16 20:56:02 +00:00
David Heinemeier Hansson
89689ea524 Fixed a small bug in the new referencing of DEFAULT_SESSION_OPTIONS
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@199 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-16 20:43:31 +00:00
David Heinemeier Hansson
4e78b0627c Rails 0.9 is a reality
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@198 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-16 19:54:04 +00:00
David Heinemeier Hansson
2f3db152ec Made the last tweaks before 0.9
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@197 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-16 19:43:27 +00:00
David Heinemeier Hansson
b64c26ad9d Updated documentation
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@196 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-16 17:58:29 +00:00
David Heinemeier Hansson
12f10f6baf Only requests that require processing from a controller should block the webrick server -- requests for stylesheets, images, and the like should be concurrent
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@189 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-16 16:08:10 +00:00
David Heinemeier Hansson
c4c6af3c2c Needed to update the server root for the new placement
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@188 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-16 15:57:06 +00:00
David Heinemeier Hansson
cc88e5a615 Renamed script/envcon to script/console
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@187 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-16 15:47:04 +00:00
David Heinemeier Hansson
b8f8776f0c Renamed public/dispatch.servlet to script/server -- it wasn't really dispatching anyway as its delegating calls to public/dispatch.rb
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@186 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-16 15:45:55 +00:00
David Heinemeier Hansson
4fb6ed4c1c Renamed breakpointing to breakpointer
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@185 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-16 15:40:50 +00:00
David Heinemeier Hansson
cf718eb707 Shouldnt have removed generators from gemspec
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@180 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-16 13:12:10 +00:00
David Heinemeier Hansson
91b97eca86 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@172 5ecf4fe2-1ee6-0310-87b1-e25e094e27de 2004-12-15 16:35:36 +00:00
David Heinemeier Hansson
120649dc83 Moved generate to bin and included it again
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@170 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-15 14:19:22 +00:00
David Heinemeier Hansson
0a97c05ba0 Removed redundent tests for success and removed the tests for missing records that were failing out the gates
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@169 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-15 13:20:55 +00:00
David Heinemeier Hansson
0802ca7095 Generators shouldnt be placed in a new Rails creation by default
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@168 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-15 13:18:40 +00:00
David Heinemeier Hansson
83c668f32e Make Railties *not* include .svn dirs in its gemspec files list #308 [Marcel]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@165 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-15 12:04:50 +00:00
David Heinemeier Hansson
4d9cda5732 Renamed AbstractApplicationController and abstract_application.rb to ApplicationController and application.rb, so that it will be possible for the framework to automatically pick up on app/views/layouts/application.rhtml and app/helpers/application.rb
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@159 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-15 11:30:09 +00:00
David Heinemeier Hansson
a02a96226e Brought unit tests up to date
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@158 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-15 11:25:35 +00:00
David Heinemeier Hansson
647c5e0565 fixtures :models will now also attempt to include the model.rb file
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@154 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-14 18:02:11 +00:00
David Heinemeier Hansson
e5a8d8ebbb This patch allows urls to be of the form :module/:controller/:action as well as :controller/:action/:id where :id is no entirely numeric by determining if what would be :module corresponds to a directory in app/controllers. If it does not then the :controller/:action/:id scheme is used.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@150 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-14 12:58:25 +00:00
David Heinemeier Hansson
317f13c2a8 Cut dependency on dev-utils by using included breakpoint lib
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@148 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-13 23:47:27 +00:00
David Heinemeier Hansson
0dfe122bb4 Slightly less overzealous testing
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@147 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-13 23:47:01 +00:00
David Heinemeier Hansson
458c5485a1 Improved the quality of the breakpointing -- especially under FCGI
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@146 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-13 23:38:08 +00:00
David Heinemeier Hansson
1f9243c13e Cleaner deactivation of the breakpoint server
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@138 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-12 20:49:20 +00:00
David Heinemeier Hansson
65a9011ea3 Fixed a pattern for module loading
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@137 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-12 20:37:43 +00:00
David Heinemeier Hansson
8eec674148 Breakpointing that works much better with CGI and FCGI
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@136 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-12 20:29:52 +00:00
David Heinemeier Hansson
54dabd05e6 Added collusion handling for FCGI
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@134 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-12 18:51:26 +00:00
David Heinemeier Hansson
fdc4d1bd79 Added confirmations on successfull connections and resumations
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@133 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-12 18:22:12 +00:00
David Heinemeier Hansson
e1ee02207c Reload the cached column information between requests when the ActionController is set to reloading dependencies
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@131 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-12 17:53:42 +00:00
David Heinemeier Hansson
c33126e07c Added pattern for specific actions in a modularized controller
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@129 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-12 17:23:20 +00:00
David Heinemeier Hansson
eb952e1e94 Only start the breakpoint server when included by dispatchers
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@128 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-12 17:22:35 +00:00
David Heinemeier Hansson
6863601335 Turn off ACL for localhost
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@126 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-12 16:47:37 +00:00
David Heinemeier Hansson
8e1f1ee442 Moved require_association to associations.rb and added methods for resetting the inheritable attributes on subclasses
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@125 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-12 16:14:20 +00:00
David Heinemeier Hansson
b141bdbb32 Display error messages on scaffolded form pages
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@124 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-12 14:14:37 +00:00
David Heinemeier Hansson
204100d772 Superseeded by rails_generator.rb
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@122 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-12 13:44:17 +00:00
David Heinemeier Hansson
870632dba3 Remember to include the right breakpoint for the docs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-12 12:57:08 +00:00
David Heinemeier Hansson
cfe665790e Differentiate breakpointing on gem or not in an attempt to fix looping problems
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@119 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-12 12:53:14 +00:00
David Heinemeier Hansson
912a567252 No longer needed to explicitly pass the session defaults as the error screen was removed
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@118 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-12 12:52:40 +00:00
David Heinemeier Hansson
9fe6d61b84 Fix breakpointing by differenciating between gem and not
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@112 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-10 18:38:27 +00:00
David Heinemeier Hansson
5ae593f10b Mailer generator should create passing tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@111 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-10 18:38:02 +00:00
David Heinemeier Hansson
bf33b6ccae Fixed a few issues for the breakpointing
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@104 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-09 23:04:37 +00:00
David Heinemeier Hansson
bf0e37b3cf Added preliminary remote breakpoint support
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@102 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-09 17:20:00 +00:00
David Heinemeier Hansson
3236e15cb7 Updated the usage documentation for the generator actions for their new home
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@101 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-09 15:54:22 +00:00
David Heinemeier Hansson
4e1eaa289b Only nuke the AbstractApplicationController if its available
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@79 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-08 10:41:14 +00:00
David Heinemeier Hansson
7a29764657 Forgot another small change with the new generators
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@74 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-07 21:02:34 +00:00
David Heinemeier Hansson
5f28a62338 Forgot a small change with the new generators
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@73 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-07 20:57:15 +00:00
David Heinemeier Hansson
e7444da160 New error checking removes the necessity for giving a specific error page along to the dispatcher
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@71 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-07 15:35:40 +00:00
David Heinemeier Hansson
a6f718cfa0 Make the dispatch.rb behave after being run by the WEBrick dispatcher
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@64 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-07 12:03:57 +00:00
David Heinemeier Hansson
2594581e9f Added a better generator for scaffolding that actually creates the code, so it can be edited bit by bit. See "script/generate scaffold" [bitsweat]. Added a whole new approach to generators that used the shared "script/generate" command. Run with no-args to see help [bitsweat].
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@63 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-07 11:49:38 +00:00
David Heinemeier Hansson
0ffb6c1625 Syntax errors and other exceptions thrown outside of an action are now gracefully handled by the dispatcher
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@51 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-06 18:25:01 +00:00
David Heinemeier Hansson
ed14042fea Cleaned it up
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@50 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-06 18:19:56 +00:00
David Heinemeier Hansson
456076a306 Added an easier way of starting a IRB session on the environment
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@49 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-06 18:19:24 +00:00
David Heinemeier Hansson
0366e6a614 Added an easier way of starting a IRB session on the environment
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@48 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-06 18:18:29 +00:00
David Heinemeier Hansson
d4d981d707 Added a real reference to the irc channel, and updated the name of the network to the right name in the Rails docs [imajes]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@37 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-01 12:10:02 +00:00
David Heinemeier Hansson
9200dad7c9 script/new_controller should create directory for views even when no actions are specified [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@36 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-12-01 12:07:07 +00:00
David Heinemeier Hansson
d82f73ecab Abolished ActionController::Base.require_or_load in favor of require_dependency and ActiveRecord::Base.require_or_load in favor of require_association. Both methods are now also available in the global namespace when you need to require dependencies or associations outside of whats done automatically.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@32 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-30 18:52:20 +00:00
David Heinemeier Hansson
5b38d85571 AbstractApplicationController and the individual controllers are now completely reloaded on each request if "reload_dependencies" is set to true. This makes it possible to REMOVE methods and constants and have the changes reflected. Beaware that this is still not possible for models, though.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@31 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-30 17:19:01 +00:00
David Heinemeier Hansson
7ed0894c37 Put establish_connection back in...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@14 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-25 22:34:24 +00:00
David Heinemeier Hansson
55f2fcff1d Fixed bad chars in public/.htaccess [imajes]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@13 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-25 22:07:29 +00:00
David Heinemeier Hansson
14b80d0f1d Cleaned up the Rakefile
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@10 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-25 16:27:59 +00:00
David Heinemeier Hansson
9e41445360 Consolidated and better commented the environment files
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-25 16:22:07 +00:00
David Heinemeier Hansson
a09824cfcc Dump development database, not test database
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-25 15:53:30 +00:00
David Heinemeier Hansson
db045dbbf6 Initial
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2004-11-24 01:04:44 +00:00