CSC/ECE 517 Fall 2016/E1635. Refactor join team requests controller.rb and invitation controller.rb: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
No edit summary
Line 5: Line 5:
===Problem Statement===
===Problem Statement===
The following tasks were accomplished in this project:
The following tasks were accomplished in this project:
* renamed the invitations_controller.rb to < insert new_name >
* Renamed the "invitation_controller.rb" to "invitation_controller.rb"
* changed if nested else to elsif
* For simple if nested in else, we changed it to elsif and thus decreased number of layers in the if nest.
* added comments to explains what each method does and explaining important variables
* For added comments to explains what each method does and explaining important variables
* refactored the create and update methods
* refactored the create and update methods
* changed the wordings of the flash messages to make them more meaningful
* changed the wordings of the flash messages to make them more meaningful

Revision as of 06:37, 30 October 2016

E1635. Refactor invitations 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:

  • Renamed the "invitation_controller.rb" to "invitation_controller.rb"
  • For simple if nested in else, we changed it to elsif and thus decreased number of layers in the if nest.
  • For added comments to explains what each method does and explaining important variables
  • refactored the create and update methods
  • changed the wordings of the flash messages to make them more meaningful