lib/firebase/firebase.rb in motion-firebase-2.0.12 vs lib/firebase/firebase.rb in motion-firebase-2.0.13
- old
+ new
@@ -112,16 +112,16 @@
return self
end
def <<(value)
ref = childByAutoId
- ref.update(value)
+ ref.set(value)
return ref
end
def push(value, &and_then)
ref = childByAutoId
- ref.update(value, &and_then)
+ ref.set(value, &and_then)
return ref
end
def value=(value)
setValue(value)