Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

juozas (at tuesdaystudios)'s latest activity

Monday, November 03 2008
18 Add CouchRest::Model.count method was created in CouchRest
  • juozas (at tuesdaystudios)
    juozas (at tuesdaystudios) created the ticket at 3:21 PM

    You can get the count of all objects this way:

    
    module CouchRest
    
      class Model < Hash
    
        def count
          self.all(:count => 0, :raw => true)["total_rows"]....