couchrest_model/spec
Vinicius Teles 9399b27f3f Added the method update_attributes_without_saving.
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.
2008-11-07 10:36:38 -02:00
..
couchrest Added the method update_attributes_without_saving. 2008-11-07 10:36:38 -02:00
fixtures put attachments 2008-09-30 17:22:54 -07:00
couchapp_spec.rb new capabilities for couchapp script 2008-10-28 09:56:42 -07:00
spec.opts simplified json include 2008-05-24 12:28:42 -07:00
spec_helper.rb views accept blocks 2008-10-14 15:08:17 -07:00