   countPods: () ->
     @db.count('pod')
   updatePods: (pods) ->
-    #@db.put('pod', pods)
+    @db.put('pod', pods)
   findCategories: () ->
     iterator = new ydn.db.ValueIterator("category")
     @db.values iterator, 1000

  constructor: (name='seeds') ->
    @initDb(name)
  initDb: (name) ->
    podsSchema = 
      name: 'pod'
      keyPath: 'name'
      type: 'TEXT'

      indexes: []
    @db = new ydn.db.Storage name, stores: [podsSchema, categoriesSchema]
  clear: () ->
    @db.clear()
  # this reads from _all_ pods and uses ydn internal capabilities for sorting
  # and pagination
  findPods: (sortBy, asc=true, offset=0, limit=50) ->
