CSC/ECE 517 Fall 2018 E1836 Refactor quiz questionnaires controller.rb

From Expertiza_Wiki
Jump to navigation Jump to search

E1836. Refactoring quiz_questionnaires_controller.rb

This page provides a description of the Expertiza based OSS project.


About Expertiza

Expertiza is an open source project based on Ruby on Rails framework. Expertiza allows the instructor to create new assignments and customize new or existing assignments. It also allows the instructor to create a list of topics the students can sign up for. Students can form teams in Expertiza to work on various projects and assignments. Students can also peer review other students' submissions. Expertiza supports submission across various document types, including the URLs and wiki pages.

Problem Statement

The following tasks were accomplished in this project:

  • Created quiz_questionnaire_controller.rb
  • Moved view_quiz to quiz_questionnaires_controller.rb, and renamed it as view.
  • Moved new_quiz to quiz_questionnaires_controller.rb, and renamed it as new.
  • Moved create_quiz_questionnaire to quiz_questionnaires_controller.rb and renamed it as create.
  • Moved edit_quiz to quiz_questionnaires_controller.rb and renamed it as edit.
  • Moved update_quiz to quiz_questionnaires_controller.rb and renamed it as update.