Skip to content
Browse files

add attr_writer :data.

  • Loading branch information...
1 parent d1cb354 commit 10c00fe1eed41b065281a6f84a22bdc37fa1c1f9 @authorNari committed Jan 20, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/sequel-rails/session_store.rb
View
1 lib/sequel-rails/session_store.rb
@@ -49,6 +49,7 @@ def self.name
def data
@data ||= self.class.unmarshal(self[:data]) || {}
end
+ attr_writer :data
def marshal_data!
return false unless @data

0 comments on commit 10c00fe

Please sign in to comment.
Something went wrong with that request. Please try again.