Permalink
Browse files

RCBC-85 Fix typo in `save' method

Change-Id: I769c817ca9e27644b272fbf27de654b4be8eecb3
Reviewed-on: http://review.couchbase.org/21123
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
  • Loading branch information...
1 parent 1bca04b commit 7afb9dd17f361ce38773c2f7efbcd509da8c0c26 @avsej committed Sep 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/couchbase/model.rb
View
@@ -484,7 +484,7 @@ def save(cas = nil)
end
return create unless meta
value = @_raw ? @_raw : attributes_with_values
- model.bucket.replace(@id, value, model.default.merge(:cas => cas))
+ model.bucket.replace(@id, value, model.defaults.merge(:cas => cas))
self
end

0 comments on commit 7afb9dd

Please sign in to comment.