app/services/change_manager/manager.rb in change_manager-0.0.7 vs app/services/change_manager/manager.rb in change_manager-0.0.8
- old
+ new
@@ -5,10 +5,9 @@
# Resque.enqueue(MakeChange, change_id)
Resque.enqueue_in(30.seconds, MakeChange, change_id)
end
def self.notify(change_id)
- puts 'notify method called'
unless Change.find(change_id).cancelled?
change = Change.find(change_id)
verified_changes = process_changes(change)
notify_users(verified_changes) unless verified_changes.empty?
end