Commit 04a63e82 by Kevin Chugh

fixed Rakfile error

parent 01fc7cbc
6421: Locked by 6421 at Tue Nov 20 14:20:21 -0500 2012 99699: Locked by 99699 at Tue Nov 20 19:24:51 -0500 2012
...@@ -158,7 +158,7 @@ namespace :db do ...@@ -158,7 +158,7 @@ namespace :db do
"commentable_id" => COURSE_ID, "closed" => [true, false].sample, "updated_at" => Time.now, "last_activity_at" => Time.now, "commentable_id" => COURSE_ID, "closed" => [true, false].sample, "updated_at" => Time.now, "last_activity_at" => Time.now,
"votes" => {"count" => 0, "down" => [], "down_count" => 0, "point" => 0, "up" => [], "spoiler_count" => []}} "votes" => {"count" => 0, "down" => [], "down_count" => 0, "point" => 0, "up" => [], "spoiler_count" => []}}
coll.insert(doc) coll.insert(doc)
endson if hes working that woul end
binding.pry binding.pry
Tire.index('comment_threads').delete Tire.index('comment_threads').delete
CommentThread.create_elasticsearch_index CommentThread.create_elasticsearch_index
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment