Commit d2b58e04323703b029ca8850a0a3fbab2739dd54
1 parent
d90d27ac
Exists in
master
and in
1 other branch
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 | 45 | votes_count || 0 |
| 46 | 46 | end |
| 47 | 47 | |
| 48 | - #after_create :generate_prompts | |
| 48 | + after_create :generate_prompts | |
| 49 | 49 | def before_create |
| 50 | 50 | puts "just got inside choice#before_create. is set to active? #{self.active?}" |
| 51 | 51 | unless item | ... | ... |