Home inserting scores data into a quiz_user join table
Reply: 0

inserting scores data into a quiz_user join table

user435
1#
user435 Published in May 21, 2018, 10:32 pm

I am working on a quiz app and I have to keep track of users along with the quizzes that they appeared for any their score for that quiz so I thought that creating a join table (has_and_belongs_to_many relationship)quizzes_user which will have the quiz_id, user_id and the score might be the best way to go about it but I am not able to insert the scores into the table..

any help will be highly appreciated..

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.33208 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO