I was able to use strong parameters on the create action successfully.
But unfortunately, I am getting an error from the update action when trying to save the selected winner to the database. Rails is saying "wrong number of arguments (1 for 2). I've tried many google searches to no avail, I would appreciate anyone's help with this.
I was able to use strong parameters on the create action successfully.
But unfortunately, I am getting an error from the update action when trying to save the selected winner to the database. Rails is saying "wrong number of arguments (1 for 2). I've tried many google searches to no avail, I would appreciate anyone's help with this.
Thanks!