Permalink
Browse files

Fix failing active record store tests

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7317 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 7b64c37 commit d0c83c435459b3fff53075a84411f39707f31325 @NZKoz NZKoz committed Aug 14, 2007
Showing with 2 additions and 1 deletion.
  1. +2 −1 actionpack/lib/action_controller/session/active_record_store.rb
@@ -122,13 +122,14 @@ def data
@data ||= self.class.unmarshal(read_attribute(@@data_column_name)) || {}
end
+ attr_writer :data
+
# Has the session been loaded yet?
def loaded?
!! @data
end
private
- attr_writer :data
def marshal_data!
return false if !loaded?

0 comments on commit d0c83c4

Please sign in to comment.