Permalink
Browse files

Data wasn't being marked as a dirty column

  • Loading branch information...
1 parent 9acbbce commit 1a4f0095659eb428fd5c1f541a45e0fe33a0b1db @neogia committed Jun 19, 2009
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/merb/session/sequel_session.rb
@@ -92,6 +92,7 @@ def data
# Virtual attribute writer - override.
def data=(hsh)
@data = hsh if hsh.is_a?(Hash)
+ changed_columns << :data unless changed_columns.include?(:data)
end
# Has the session been loaded yet?

0 comments on commit 1a4f009

Please sign in to comment.