Added defects to assignment_controller.rb