From 8a35865b747e0e96ae53e45997d6742f8f0ccfc3 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 20 Sep 2005 10:54:11 +0000 Subject: 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 --- actionpack/CHANGELOG | 2 ++ 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 -- cgit v1.2.3