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
上级 1aa82b32
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册