diff options
author | Rick Olson <technoweenie@gmail.com> | 2007-03-06 04:09:14 +0000 |
---|---|---|
committer | Rick Olson <technoweenie@gmail.com> | 2007-03-06 04:09:14 +0000 |
commit | 2b7dbad8e081b1ce84a7262b1b0953254bf8f651 (patch) | |
tree | 63f7a2ec758a362736f1805be0f223ade6a573b9 /actionpack/lib/action_controller/cgi_ext | |
parent | d1b08f4a751f12fbe32ccf7a31cc905656a344ff (diff) | |
download | rails-2b7dbad8e081b1ce84a7262b1b0953254bf8f651.tar.gz rails-2b7dbad8e081b1ce84a7262b1b0953254bf8f651.tar.bz2 rails-2b7dbad8e081b1ce84a7262b1b0953254bf8f651.zip |
Add a #dbman attr_reader for CGI::Session and make CGI::Session::CookieStore#generate_digest public so it's easy to generate digests
using the cookie store's secret. [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6342 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller/cgi_ext')
-rw-r--r-- | actionpack/lib/action_controller/cgi_ext/session_performance_fix.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/cgi_ext/session_performance_fix.rb b/actionpack/lib/action_controller/cgi_ext/session_performance_fix.rb index 6f9a09da6d..d3dc643d3f 100644 --- a/actionpack/lib/action_controller/cgi_ext/session_performance_fix.rb +++ b/actionpack/lib/action_controller/cgi_ext/session_performance_fix.rb @@ -26,6 +26,7 @@ class CGI # Make the CGI instance available to session stores. attr_reader :cgi + attr_reader :dbman alias_method :initialize_without_cgi_reader, :initialize def initialize(cgi, options = {}) @cgi = cgi |