Skip to content
Browse files

session_id column is string in default

  • Loading branch information...
1 parent bc65d0c commit 92dcdc590ebb8407e7f53c26d501d169799d0eff @kennyj kennyj committed Jul 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/session_store.rb
View
2 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.

0 comments on commit 92dcdc5

Please sign in to comment.
Something went wrong with that request. Please try again.