@JakeGoulding I tried this
let(:params) {{ data: { "0": { candidate_answer_id: candidate_answer1.id, answer_id: http://answer1.id }, "1": { candidate_answer_id: candidate_answer2.id, answer_id: http://answer2.id } }, id: exam_candidate.id }}
doesn't work, Thanks
"doesn't work" is not a meaningful statement; there are an infinite number of ways for something to not work, but only a few ways for it to work. The syntax / structure seems correct on quick inspection.
-
-
Hehe, exactly, was a ruby problem, fat arrow worked for me. Thanks anyways
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.