lib/rack/session/abstract/id.rb in rack-1.4.1 vs lib/rack/session/abstract/id.rb in rack-1.4.2
- old
+ new
@@ -114,9 +114,14 @@
def empty?
load_for_read!
super
end
+ def merge!(hash)
+ load_for_write!
+ super
+ end
+
private
def load_for_read!
load! if !loaded? && exists?
end