CSC/ECE 517 Spring 2022 - E2239: Further refactoring and improvement of review mapping helper.rb: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
Line 4: Line 4:


=== Problem: The method get_data_for_review_report violates the Expert pattern ===
=== Problem: The method get_data_for_review_report violates the Expert pattern ===
<code> get_data_for_review_report </code> passes back a data structure with multiple <code> response </code> objects to the <code> _review_report.html.erb </code> view. This violates the


*''' Proposed Solution '''
*''' Proposed Solution ''':

Revision as of 22:51, 30 March 2022

Background

Problems and planned changes

Problem: The method get_data_for_review_report violates the Expert pattern

get_data_for_review_report passes back a data structure with multiple response objects to the _review_report.html.erb view. This violates the

  • Proposed Solution :