From ebb7bd78351b7975f28fdcbadbbf0fe4804be2f2 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 13 Sep 2005 08:31:32 +0000 Subject: Added easy assignment of fragment cache store through use of symbols for included stores (old way still works too) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2230 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_controller/session.rb | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 actionpack/lib/action_controller/session.rb (limited to 'actionpack/lib/action_controller/session.rb') diff --git a/actionpack/lib/action_controller/session.rb b/actionpack/lib/action_controller/session.rb deleted file mode 100644 index f3c3f87499..0000000000 --- a/actionpack/lib/action_controller/session.rb +++ /dev/null @@ -1,14 +0,0 @@ -module ActionController #:nodoc: - module Session #:nodoc: - def self.append_features(base) #:nodoc: - super #:nodoc: - base.after_filter(:clear_persistant_model_associations) - end - - private - def clear_persistant_model_associations #:doc: - session = @session.instance_variable_get("@data") - session.each { |key, obj| obj.clear_association_cache if obj.respond_to?(:clear_association_cache) } if session - end - end -end \ No newline at end of file -- cgit v1.2.3