Permalink
Browse files

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
  • Loading branch information...
1 parent 1aa82b3 commit 02d0558738b0c24663404f9b14398fc920f0f60f @dhh dhh committed Feb 7, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/session/active_record_store.rb
@@ -56,7 +56,7 @@ def restore
# 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

0 comments on commit 02d0558

Please sign in to comment.