slight change of API, CR::Document now uses <action>_doc instead of <action>, also added #create! and #recreate! to Document instances
This commit is contained in:
parent
a4a2b202ae
commit
84e2bf94e4
8 changed files with 190 additions and 107 deletions
|
@ -60,7 +60,7 @@ describe CouchRest::Pager do
|
|||
@docs << ({:number => (i % 10)})
|
||||
end
|
||||
@db.bulk_save(@docs)
|
||||
@db.save({
|
||||
@db.save_doc({
|
||||
'_id' => '_design/magic',
|
||||
'views' => {
|
||||
'number' => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue