Permalink
Browse files

Merge pull request #13315 from tyre/patch-1

Update Session Store Documentation
  • Loading branch information...
2 parents 31a485f + 1805682 commit 3a429e6b5daf11cdeb811b8019f6e193d6e13513 @rafaelfranca rafaelfranca committed Dec 14, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 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.

0 comments on commit 3a429e6

Please sign in to comment.