aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2006-11-15 20:08:43 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2006-11-15 20:08:43 +0000
commit65ca37b7b7097afa49f6837668d4108262334f4e (patch)
tree465c8c47451e06b20975e5ea355e1ccbab64aed2 /actionpack
parent9339db70c65219c2c575771e5c6a0fd58ee69316 (diff)
downloadrails-65ca37b7b7097afa49f6837668d4108262334f4e.tar.gz
rails-65ca37b7b7097afa49f6837668d4108262334f4e.tar.bz2
rails-65ca37b7b7097afa49f6837668d4108262334f4e.zip
ARStore needs a data reader method. Closes #4795.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5531 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_controller/session/active_record_store.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/session/active_record_store.rb b/actionpack/lib/action_controller/session/active_record_store.rb
index 5f3b960b59..cbd5422af1 100644
--- a/actionpack/lib/action_controller/session/active_record_store.rb
+++ b/actionpack/lib/action_controller/session/active_record_store.rb
@@ -5,6 +5,8 @@ require 'base64'
class CGI
class Session
+ attr_reader :data
+
# Return this session's underlying Session instance. Useful for the DB-backed session stores.
def model
@dbman.model if @dbman