ifad/ruote-postgres — pull request #1 by beedub (2013-03-12 20:49:36+00:00)
Title: Fix bug where fresh documents without revision are not stored

Mirrors ruote-sequel code as well: https://github.com/jmettraux/ruote-sequel/blob/master/lib/ruote/sequel/storage.rb#L158