Skip to content

FIX for issue 941 updated database schema for submissions and results.#1026

Merged
reidka merged 3 commits into
MarkUsProject:masterfrom
alyshakwok:issue-941
Mar 6, 2013
Merged

FIX for issue 941 updated database schema for submissions and results.#1026
reidka merged 3 commits into
MarkUsProject:masterfrom
alyshakwok:issue-941

Conversation

@alyshakwok

Copy link
Copy Markdown
Contributor

Submissions now have a one to many relationship with results (instead of one to one result and one to one remark result). Implemented methods to retrieve the correct result (remark or original) that are not relying on database ordering or timestamp. Updated blueprints and tests for updated schema. Functionality should remain the same as before the schema change.

Fix for issue #941

…. Helper methods implemented to retrieve appropriate result.
Comment thread app/helpers/submissions_helper.rb Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

result is being saved twice on the next line.

@m-wu

m-wu commented Mar 6, 2013

Copy link
Copy Markdown
Contributor

These changes do not cause any additional failures in the test suite, and besides the comments I made above, the pull request looks good to me. (But since I'm still relatively new to RoR, a quick scan by a pro wouldn't hurt.)

reidka added a commit that referenced this pull request Mar 6, 2013
FIX for issue 941 updated database schema for submissions and results.
I'm going to merge this one so that work can continue on this area.  There is lots of active development on this part of the code right now so hopeful any issues with it will appear soon.
@reidka reidka merged commit e980bbf into MarkUsProject:master Mar 6, 2013
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.

3 participants