9399b27f3f
To understand the reason, say you have this: class Post < CouchRest::Model key_accessor :title, :body, :author, comments cast :author, :as => 'Author' cast :comments, :as => ['Comment'] end comment = post.comments.first I'd like to do comment.update_attributes_without_saving hash because otherwise, it would create a new document for comment, which I don't want in my particular use. I just want to update the internal comment in the post. |
||
---|---|---|
.. | ||
database.rb | ||
model.rb | ||
server.rb |