Commit 8d5da83c7c7db717ec588e556fc21425f186cf65

Authored by Dhruv Kapadia
1 parent 681d8a6a

Pruning unused methods

Showing 1 changed file with 0 additions and 10 deletions   Show diff stats
app/models/user.rb
... ... @@ -57,16 +57,6 @@ class User < ActiveRecord::Base
57 57 question.activate!
58 58 end
59 59  
60   - def activate_choice(choice_id, options)
61   - choice = Choice.find(choice_id)
62   - choice.activate!
63   - end
64   -
65   - def deactivate_choice(choice_id, options)
66   - choice = Choice.find(choice_id)
67   - choice.deactivate!
68   - end
69   -
70 60 def deactivate_question(question_id, options)
71 61 question = questions.find(question_id)
72 62 question.deactivate!
... ...