Commit d2b58e04323703b029ca8850a0a3fbab2739dd54

Authored by Dhruv Kapadia
1 parent d90d27ac

Re-enabling prompt generation

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/models/choice.rb
@@ -45,7 +45,7 @@ class Choice < ActiveRecord::Base @@ -45,7 +45,7 @@ class Choice < ActiveRecord::Base
45 votes_count || 0 45 votes_count || 0
46 end 46 end
47 47
48 - #after_create :generate_prompts 48 + after_create :generate_prompts
49 def before_create 49 def before_create
50 puts "just got inside choice#before_create. is set to active? #{self.active?}" 50 puts "just got inside choice#before_create. is set to active? #{self.active?}"
51 unless item 51 unless item