From 02d0558738b0c24663404f9b14398fc920f0f60f Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 7 Feb 2005 19:12:11 +0000 Subject: Make the store less verbose when saving the session data git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@529 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_controller/session/active_record_store.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack') diff --git a/actionpack/lib/action_controller/session/active_record_store.rb b/actionpack/lib/action_controller/session/active_record_store.rb index 353292b87c..27ef869132 100644 --- a/actionpack/lib/action_controller/session/active_record_store.rb +++ b/actionpack/lib/action_controller/session/active_record_store.rb @@ -56,7 +56,7 @@ class CGI # Save session state in the session's ActiveRecord object. def update return unless @session - @session.update_attribute "data", @data + ActiveRecord::Base.benchmark("Saving session") { @session.update_attribute "data", @data } end end #ActiveRecordStore end #Session -- cgit v1.2.3