CSC/ECE 517 Fall 2019- Project E1946 Refactor Questionnaire Controller

From Expertiza_Wiki
Revision as of 21:02, 28 October 2019 by Ggarima (talk | contribs)
Jump to navigation Jump to search

E1946. Refactoring the Questionnaire Controller

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:

  • Improved the clarity of code by improving the variable and parameter names.
  • Long character strings were taken and given appropriate names.
  • Handled pagination by a separate helper module, which can be used by multiple controllers.
  • Implemented action_allowed for access_control to prevent unauthorized access of methods.
  • Prevented displaying of all versions for all users and tables when a user views the index page.
  • Added missing CRUD methods to Versions Controller
  • Added RSPEC testcases for testing changes done in Versions Controller