Permalink
Browse files

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
  • Loading branch information...
1 parent 7fcf07d commit 3d691ab3904f59c977c18288f55114951a21bb0f @dhh dhh committed Dec 30, 2004
Showing with 17 additions and 0 deletions.
  1. +17 −0 railties/CHANGELOG
View
@@ -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.

0 comments on commit 3d691ab

Please sign in to comment.