diff options
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r-- | actionpack/lib/action_controller/session/active_record_store.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/session/active_record_store.rb b/actionpack/lib/action_controller/session/active_record_store.rb index 36896d36d8..a653947038 100644 --- a/actionpack/lib/action_controller/session/active_record_store.rb +++ b/actionpack/lib/action_controller/session/active_record_store.rb @@ -52,7 +52,7 @@ class CGI end def data_column_size_limit - connection.columns(table_name).find {|column| column.name == 'data'}.limit + columns_hash['data'].limit end # Hook to set up sessid compatibility. |