Closed bfellerath closed 9 years ago
Taking a look now. Can you push so I can check out your edit food items view?
But at first glance, I believe the params with which you are trying to update are a little off. Do you want to update the params for the food_item?
...like so:
food_item.update(params[:food_item])
I have it working now
:ok_hand::ok_hand::ok_hand::ok_hand::ok_hand::ok_hand:
Writing the following code:
Getting this error: When assigning attributes, you must pass a hash as an argument.