Edit Multiple

Hello,

I'm started from this example (#198 Edit Multiple Individually - RailsCasts) to create a view to update multiple fields.

My goal is permit at the user to update all exam scores in the same view. I know the students registered at the exam, so I did't need a multiple selection. I have showed my DB structure in this post (Filter on multiple select - Rails - Ruby-Forum).

I see the view in the right way, but the score don't update. Below, my code, thanks for the help.

# registrations_controller.rb

Hello,

I'm started from this example (#198 Edit Multiple Individually - RailsCasts) to create a view to update multiple fields.

My goal is permit at the user to update all exam scores in the same view. I know the students registered at the exam, so I did't need a multiple selection. I have showed my DB structure in this post (Filter on multiple select - Rails - Ruby-Forum).

I see the view in the right way, but the score don't update. Below, my code, thanks for the help.

Have a look at the Rails Guide on debugging, which will show you techniques that you can use to debug the code. Once you have worked out which bit of code is not working then, if you still cannot see the problem, come back with details of exactly what the problem is.

Hint: first look in development.log to check that the parameters are being passed correctly.

Colin