juozas (at tuesdaystudios)
Not a member
juozas (at tuesdaystudios)'s latest activity
Monday, November 03 2008
18
Add CouchRest::Model.count method
was created
in CouchRest
-
juozas (at tuesdaystudios) created the ticket at 3:21 PMYou can get the count of all objects this way:
module CouchRest class Model < Hash def count self.all(:count => 0, :raw => true)["total_rows"]....