engineyard / engineyard/ruby-quiz

Attempts are not saved after each quiz

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
3
Forks
3
PR merge metrics
No merged PRs in 30d

Description

In the Answer method fo quiz controller, the attempts are not saved after each quiz. May be @attempt.save need to be added after completion of each quiz?
My temporary fix for attempting the microservice blog post was to do the following below:
```
if @attempt.current_question_number == 6
@attempt.save!
end
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.