aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/session_store.rb
diff options
context:
space:
mode:
authorkennyj <kennyj@gmail.com>2012-07-15 02:56:08 +0900
committerkennyj <kennyj@gmail.com>2012-07-15 02:56:08 +0900
commit92dcdc590ebb8407e7f53c26d501d169799d0eff (patch)
treea5e8165a566045216e1833362acdad032535505d /activerecord/lib/active_record/session_store.rb
parentbc65d0c581f41495d68975b1ae28ae853e6d22dc (diff)
downloadrails-92dcdc590ebb8407e7f53c26d501d169799d0eff.tar.gz
rails-92dcdc590ebb8407e7f53c26d501d169799d0eff.tar.bz2
rails-92dcdc590ebb8407e7f53c26d501d169799d0eff.zip
session_id column is string in default
Diffstat (limited to 'activerecord/lib/active_record/session_store.rb')
-rw-r--r--activerecord/lib/active_record/session_store.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/session_store.rb b/activerecord/lib/active_record/session_store.rb
index 5a256b040b..51f4a91069 100644
--- a/activerecord/lib/active_record/session_store.rb
+++ b/activerecord/lib/active_record/session_store.rb
@@ -7,7 +7,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, usually varchar; maximum length is 255), and
# +data+ (text or longtext; careful if your session data exceeds 65KB).
#
# The +session_id+ column should always be indexed for speedy lookups.