← Back to Upcase

Flashcard Rails App : Games and Guesses Forms

(Qleonetti ) #1

Hello, I am finishing the flashcard application of the “Intro to Rails” workshop.

I am having an issue with my new game form. I have tried multiples way to make my form without success.

Since a Game has_many Guess objects, I am using a fields_for but the resulting params only hold the last guess done. If I am using a nested fields_for cards, it don’t works either.

I am still searching a solution now, but if someone has some pointers I would be thankful!

The form in its current version on GitHub