Commit Graph

83 Commits

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