aboutsummaryrefslogtreecommitdiffstats
path: root/railties/CHANGELOG
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2004-12-30 00:20:52 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2004-12-30 00:20:52 +0000
commit3d691ab3904f59c977c18288f55114951a21bb0f (patch)
treeba29e9315627ec1463ef89b431219897f608e40b /railties/CHANGELOG
parent7fcf07d632010130c1e46d22f689c81c48c6fe68 (diff)
downloadrails-3d691ab3904f59c977c18288f55114951a21bb0f.tar.gz
rails-3d691ab3904f59c977c18288f55114951a21bb0f.tar.bz2
rails-3d691ab3904f59c977c18288f55114951a21bb0f.zip
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
Diffstat (limited to 'railties/CHANGELOG')
-rw-r--r--railties/CHANGELOG17
1 files changed, 17 insertions, 0 deletions
diff --git a/railties/CHANGELOG b/railties/CHANGELOG
index 477bde3d1c..cf67e69880 100644
--- a/railties/CHANGELOG
+++ b/railties/CHANGELOG
@@ -1,5 +1,22 @@
*SVN*
+* 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 from:
+
+ Before in development.rb:
+ ActionController::Base.reload_dependencies = true  
+ ActiveRecord::Base.reload_associations     = true
+
+ Now in development.rb:
+ Dependencies.mechanism = :load
+
+ Before in production.rb and test.rb:
+ ActionController::Base.reload_dependencies = false
+ ActiveRecord::Base.reload_associations     = false
+
+ Now in production.rb and test.rb:
+ Dependencies.mechanism = :require
+
* Added ActionMailer::Base.deliver_method = :test to the test environment so that mail objects are available in ActionMailer::Base.deliveries
for functional testing.