Permalink
Browse files

topic added as true to seed

  • Loading branch information...
1 parent 5f5a7e7 commit 9da302b497af54eec22b2dba7a229f0f8f66068d @ghaydarov committed Aug 31, 2012
Showing with 1 addition and 3 deletions.
  1. +0 −2 Gemfile.lock
  2. +1 −1 db/seeds.rb
View
@@ -54,7 +54,6 @@ GEM
treetop (~> 1.4.8)
mime-types (1.19)
multi_json (1.3.6)
- mysql2 (0.3.11)
polyglot (0.3.3)
rack (1.4.1)
rack-cache (1.2)
@@ -108,7 +107,6 @@ DEPENDENCIES
bcrypt-ruby (~> 3.0.0)
coffee-rails (~> 3.2.1)
jquery-rails
- mysql2
rails (= 3.2.7)
sass-rails (~> 3.2.3)
sqlite3
View
@@ -31,7 +31,7 @@
teacher = Teacher.create([{name: "Karan Goel", email: "karangoel@gmail.com"}])
teacher = Teacher.create([{name: "Gurban Haydarov", email: "ghaydarov@gmail.com"}])
-topic = Topic.create([{name: "The Americas to 1620", course_id: 1}])
+topic = Topic.create([{name: "The Americas to 1620", course_id: 1, current_topic: true}])
topic = Topic.create([{name: "Multiple Eras", course_id: 1}])
topic = Topic.create([{name: "Colonization and Settlement (1585-1763)", course_id: 1}])
topic = Topic.create([{name: "Progressive Era to New Era (1900-1929)", course_id: 1}])

0 comments on commit 9da302b

Please sign in to comment.