Skip to content

Commit

Permalink
Data wasn't being marked as a dirty column
Browse files Browse the repository at this point in the history
  • Loading branch information
neogia committed Jun 19, 2009
1 parent 9acbbce commit 1a4f009
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/merb/session/sequel_session.rb
Expand Up @@ -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?
Expand Down

0 comments on commit 1a4f009

Please sign in to comment.