Oliver Duncan16,640 Points
There's a red box around my form to edit todo items.
We're cleaning up the code, and made a partial to edit todo items. Problem is, my code is slightly different than the teacher's: I could have sworn we had an "if @todo_items.errors.any?" at the beginning of our new and edit views. When I include this if statement, there's simply a red box around the form. When I don't (matching the teacher's code) the page displays an ugly "0 errors prohibited this to_do_item from being saved" with a red box around it. What did I miss?