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

From Expertiza_Wiki
Revision as of 19:09, 28 October 2016 by Ssethur2 (talk | contribs)
Jump to navigation Jump to search

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 invitations_controller.rb to < insert new_name >
  • changed if nested else to elsif
  • 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