1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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
This commit is contained in:
David Heinemeier Hansson 2005-02-07 19:12:11 +00:00
parent 1aa82b3217
commit 02d0558738

View file

@ -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