Permalink
Browse files

Added search through session to clear out association caches at the e…

…nd 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
  • Loading branch information...
1 parent a04b1f3 commit 951c9426ad37b89bbab5de1389ceea337da623cf @dhh dhh committed Dec 22, 2004
Showing with 5 additions and 0 deletions.
  1. +3 −0 actionpack/CHANGELOG
  2. +2 −0 actionpack/lib/action_controller.rb
@@ -1,5 +1,8 @@
*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
error message tells you what file actually failed to load, rather than falling back on assuming it was the helper file itself #346 [dblack]
@@ -32,6 +32,7 @@
require 'action_controller/filters'
require 'action_controller/layout'
require 'action_controller/flash'
+require 'action_controller/session'
require 'action_controller/dependencies'
require 'action_controller/scaffolding'
require 'action_controller/helpers'
@@ -48,6 +49,7 @@
include ActionController::Scaffolding
include ActionController::Helpers
include ActionController::Cookies
+ include ActionController::Session
end
require 'action_view'

0 comments on commit 951c942

Please sign in to comment.