Skip to content

Commit

Permalink
Use the more appropriate columns_hash to get the session data column …
Browse files Browse the repository at this point in the history
…size limit.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2663 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
Marcel Molina committed Oct 17, 2005
1 parent 67b926d commit ff8fe66
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -52,7 +52,7 @@ def reloadable? #:nodoc:
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.
Expand Down

0 comments on commit ff8fe66

Please sign in to comment.