mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
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:
@@ -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/benchmarking'
|
||||
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 @@ ActionController::Base.class_eval do
|
||||
include ActionController::Scaffolding
|
||||
include ActionController::Helpers
|
||||
include ActionController::Cookies
|
||||
include ActionController::Session
|
||||
end
|
||||
|
||||
require 'action_view'
|
||||
|
||||
Reference in New Issue
Block a user