Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Comment out db/seeds.rb t:2

  • Loading branch information...
commit 2fe3978c62b2510fb1726edc428853f617359ac2 1 parent f304b31
@davidjrice davidjrice authored
Showing with 15 additions and 15 deletions.
  1. +15 −15 db/seeds.rb
View
30 db/seeds.rb
@@ -2,20 +2,20 @@
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
#
-Couch.delete!(:bucket => 'default')
-Couch.delete!(:bucket => 'views')
-Couch.delete!(:bucket => 'profiles')
-Couch.delete!(:bucket => 'system')
-Couch.delete!(:bucket => 'global')
+# Couch.delete!(:bucket => 'default')
+# Couch.delete!(:bucket => 'views')
+# Couch.delete!(:bucket => 'profiles')
+# Couch.delete!(:bucket => 'system')
+# Couch.delete!(:bucket => 'global')
+#
+# Couch.create!(:bucket => 'default', :ram => ENV['BUCKET_RAM_DEFAULT'])
+# Couch.create!(:bucket => 'views', :ram => ENV['BUCKET_RAM_VIEWS'])
+# Couch.create!(:bucket => 'profiles', :ram => ENV['BUCKET_RAM_PROFILES'])
+# Couch.create!(:bucket => 'system', :ram => ENV['BUCKET_RAM_SYSTEM'])
+# Couch.create!(:bucket => 'global', :ram => ENV['BUCKET_RAM_GLOBAL'])
+# Couch.create!(:bucket => 'events', :ram => ENV['BUCKET_RAM_EVENTS'])
-Couch.create!(:bucket => 'default', :ram => ENV['BUCKET_RAM_DEFAULT'])
-Couch.create!(:bucket => 'views', :ram => ENV['BUCKET_RAM_VIEWS'])
-Couch.create!(:bucket => 'profiles', :ram => ENV['BUCKET_RAM_PROFILES'])
-Couch.create!(:bucket => 'system', :ram => ENV['BUCKET_RAM_SYSTEM'])
-Couch.create!(:bucket => 'global', :ram => ENV['BUCKET_RAM_GLOBAL'])
-Couch.create!(:bucket => 'events', :ram => ENV['BUCKET_RAM_EVENTS'])
-
-Couchbase::Model.ensure_design_document!
+# Couchbase::Model.ensure_design_document!
# Article.ensure_design_document!
# Author.ensure_design_document!
# Category.ensure_design_document!
@@ -23,6 +23,6 @@
# GlobalViewStats.ensure_design_document!
# Couch.client.flush
-Content.seed!
+# Content.seed!
-User.seed!
+# User.seed!
Please sign in to comment.
Something went wrong with that request. Please try again.