I have an exercise app that will take the number of reps done and subtract it from the amount that are “owed” for the day, I save those in a single row that is sent to the user where it is displayed, and they put the amount done.
In the create controller, I then take the amount “paid” and subtract it from the amount “owed” and try to update the params…but the params don’t update.
From what I can read there is something to do with the strong params being a different hash and I need to update that, but I can’t for the life of me figure out how to do that. Any advice on where to look or what to log to see it would be greatly appreciated!