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:
parent
1aa82b3217
commit
02d0558738
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class CGI
|
||||||
# Save session state in the session's ActiveRecord object.
|
# Save session state in the session's ActiveRecord object.
|
||||||
def update
|
def update
|
||||||
return unless @session
|
return unless @session
|
||||||
@session.update_attribute "data", @data
|
ActiveRecord::Base.benchmark("Saving session") { @session.update_attribute "data", @data }
|
||||||
end
|
end
|
||||||
end #ActiveRecordStore
|
end #ActiveRecordStore
|
||||||
end #Session
|
end #Session
|
||||||
|
|
Loading…
Reference in a new issue