diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-09-20 10:54:11 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-09-20 10:54:11 +0000 |
commit | 8a35865b747e0e96ae53e45997d6742f8f0ccfc3 (patch) | |
tree | 45677283cc62d779401de56db6dd71ae2ab74be4 /actionpack | |
parent | 3754822f43f2942f32f14ea326c9a7b2f344d056 (diff) | |
download | rails-8a35865b747e0e96ae53e45997d6742f8f0ccfc3.tar.gz rails-8a35865b747e0e96ae53e45997d6742f8f0ccfc3.tar.bz2 rails-8a35865b747e0e96ae53e45997d6742f8f0ccfc3.zip |
Added small note about how longtext might be needed for large session data
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2275 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/CHANGELOG | 2 | ||||
-rw-r--r-- | actionpack/lib/action_controller/session/active_record_store.rb | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG index cfc966fa9c..09c51dbe01 100644 --- a/actionpack/CHANGELOG +++ b/actionpack/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Fixed problem with send_file and WEBrick using stdout #1812 + * Optimized tag_options to not sort keys, which is no longer necessary when assert_dom_equal and friend is available #1995 [skae] * Added assert_dom_equal and assert_dom_not_equal to compare tags generated by the helpers in an order-indifferent manner #1995 [skae] diff --git a/actionpack/lib/action_controller/session/active_record_store.rb b/actionpack/lib/action_controller/session/active_record_store.rb index 045232a07f..130ce12150 100644 --- a/actionpack/lib/action_controller/session/active_record_store.rb +++ b/actionpack/lib/action_controller/session/active_record_store.rb @@ -12,8 +12,9 @@ class CGI # may be used as the backing store. # # The default assumes a +sessions+ tables with columns +id+ (numeric - # primary key), +session_id+ (text), and +data+ (text). Session data is - # marshaled to +data+. +session_id+ should be indexed for speedy lookups. + # primary key), +session_id+ (text, or longtext if your session data exceeds 65K), + # and +data+ (text). Session data is marshaled to +data+. +session_id+ should be + # indexed for speedy lookups. # # Since the default class is a simple Active Record, you get timestamps # for free if you add +created_at+ and +updated_at+ datetime columns to |