aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorChris Maddox <tyre77@gmail.com>2013-12-13 17:02:16 -0800
committerChris Maddox <tyre77@gmail.com>2013-12-13 17:02:16 -0800
commit1805682efa8a10a06ad3674e35181f63496e02e0 (patch)
tree3c141832faf17a4ecb946493d04302b915201d9a /activerecord
parent31a485fa5a843a766c4b889ee88a6c590a3a6ebb (diff)
downloadrails-1805682efa8a10a06ad3674e35181f63496e02e0.tar.gz
rails-1805682efa8a10a06ad3674e35181f63496e02e0.tar.bz2
rails-1805682efa8a10a06ad3674e35181f63496e02e0.zip
Update Session Store Documentation
session_id doesn't need to be a text column, just string (VARCHAR)
Diffstat (limited to 'activerecord')
-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 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.