Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E1817: Adding Student Generated Questions to Rubric #1178

Closed
wants to merge 11 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Apr 29, 2018

Please put the title of your pull request in the following format: Project ID. Name
for example, [Project id/Independent study/Issue fix/...]. project name, eg., E904. Integrating courses and assignments on Expertiza with Moodle

We suggest you include below information in your pull request:

  • A description of the changes proposed in the pull request.
  • @mentions of the person or team responsible for reviewing proposed changes.

click_link "TestAssignment"
click_link "Your work"
end
#def signup_topic
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can delete the code instead of comment out them.

@participant = AssignmentParticipant.find(params[:id])
@team = Team.find(@participant.team.id)
if @team.srq_id.nil? then
@questionnaire = Questionnaire.new
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Questionnaire creation code can use create instead. And it is unnecessary to use the instance variable. Also, you can make values as parameters, instead of assigning them one by one.

@Winbobob Winbobob closed this May 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants