I am working on a rails project and want to do some modification to the rapidfire gem tables for my work.
There are two tables "rapidfire_question" and "rapidfire_answer".
"rapidfire_question" has a column name correct_answer and "rapidfire_answer" has a column named answer_text .
I want to check if value of correct_answer is equal to answer_text then update the value of the column named marks of table "rapidfire_question" to column named marks_gained of table "rapidfire_answer".
Can anyone would help me with that.
Subscribe to get latest updates