Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 2275

Show
Ignore:
Timestamp:
09/20/05 10:54:11 (3 years ago)
Author:
david
Message:

Added small note about how longtext might be needed for large session data

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/CHANGELOG

    r2271 r2275  
    11*SVN* 
     2 
     3* Fixed problem with send_file and WEBrick using stdout #1812 
    24 
    35* Optimized tag_options to not sort keys, which is no longer necessary when assert_dom_equal and friend is available #1995 [skae] 
  • trunk/actionpack/lib/action_controller/session/active_record_store.rb

    r2221 r2275  
    1313    # 
    1414    # The default assumes a +sessions+ tables with columns +id+ (numeric 
    15     # primary key), +session_id+ (text), and +data+ (text).  Session data is 
    16     # marshaled to +data+.  +session_id+ should be indexed for speedy lookups. 
     15    # primary key), +session_id+ (text, or longtext if your session data exceeds 65K),  
     16    # and +data+ (text).  Session data is marshaled to +data+.  +session_id+ should be  
     17    # indexed for speedy lookups. 
    1718    # 
    1819    # Since the default class is a simple Active Record, you get timestamps