Added search through session to clear out association caches at the end of each request. This makes it possible to place Active Record objects in the session without worrying about stale data in the associations (the main object is still subject to caching, naturally) #347 [Tobias Luetke]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@251 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson 2004-12-22 13:53:47 +00:00
parent a04b1f3d8a
commit 951c9426ad
2 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,8 @@
*SVN* *SVN*
* Added search through session to clear out association caches at the end of each request. This makes it possible to place Active Record objects
in the session without worrying about stale data in the associations (the main object is still subject to caching, naturally) #347 [Tobias Luetke]
* Added more informative exception when using helper :some_helper and the helper requires another file that fails, you'll get an * Added more informative exception when using helper :some_helper and the helper requires another file that fails, you'll get an
error message tells you what file actually failed to load, rather than falling back on assuming it was the helper file itself #346 [dblack] error message tells you what file actually failed to load, rather than falling back on assuming it was the helper file itself #346 [dblack]

View File

@ -32,6 +32,7 @@ require 'action_controller/benchmarking'
require 'action_controller/filters' require 'action_controller/filters'
require 'action_controller/layout' require 'action_controller/layout'
require 'action_controller/flash' require 'action_controller/flash'
require 'action_controller/session'
require 'action_controller/dependencies' require 'action_controller/dependencies'
require 'action_controller/scaffolding' require 'action_controller/scaffolding'
require 'action_controller/helpers' require 'action_controller/helpers'
@ -48,6 +49,7 @@ ActionController::Base.class_eval do
include ActionController::Scaffolding include ActionController::Scaffolding
include ActionController::Helpers include ActionController::Helpers
include ActionController::Cookies include ActionController::Cookies
include ActionController::Session
end end
require 'action_view' require 'action_view'