diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-02-07 19:12:11 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-02-07 19:12:11 +0000 |
commit | 02d0558738b0c24663404f9b14398fc920f0f60f (patch) | |
tree | 68db00c267157382dc1305251a8cb835be37287f | |
parent | 1aa82b3217d243c3074feb47baed07a620a270e2 (diff) | |
download | rails-02d0558738b0c24663404f9b14398fc920f0f60f.tar.gz rails-02d0558738b0c24663404f9b14398fc920f0f60f.tar.bz2 rails-02d0558738b0c24663404f9b14398fc920f0f60f.zip |
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
-rw-r--r-- | actionpack/lib/action_controller/session/active_record_store.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |