more notions
This commit is contained in:
parent
0769c2690f
commit
32ffbfe019
2 changed files with 2 additions and 1 deletions
|
@ -28,7 +28,7 @@ module CouchRest
|
|||
end
|
||||
|
||||
# returns true if the document has never been saved
|
||||
def new_record?
|
||||
def new_document?
|
||||
!rev
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue