From 1805682efa8a10a06ad3674e35181f63496e02e0 Mon Sep 17 00:00:00 2001 From: Chris Maddox Date: Fri, 13 Dec 2013 17:02:16 -0800 Subject: Update Session Store Documentation session_id doesn't need to be a text column, just string (VARCHAR) --- activerecord/lib/active_record/session_store.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord/lib') diff --git a/activerecord/lib/active_record/session_store.rb b/activerecord/lib/active_record/session_store.rb index 7e8adb770b..442a2c4108 100644 --- a/activerecord/lib/active_record/session_store.rb +++ b/activerecord/lib/active_record/session_store.rb @@ -9,7 +9,7 @@ module ActiveRecord # # The default assumes a +sessions+ tables with columns: # +id+ (numeric primary key), - # +session_id+ (text, or longtext if your session data exceeds 65K), and + # +session_id+ (string, :limit => 255), and # +data+ (text or longtext; careful if your session data exceeds 65KB). # # The +session_id+ column should always be indexed for speedy lookups. -- cgit v1.2.3