Update Session Store Documentation

session_id doesn't need to be a text column, just string (VARCHAR)
This commit is contained in:
Chris Maddox
2013-12-13 17:02:16 -08:00
parent 31a485fa5a
commit 1805682efa

View File

@@ -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.