Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialOliver Duncan
16,642 PointsThere'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?
Oliver Duncan
16,642 PointsThe github repository is github.com/ollieshmollie/Odot
Cody Mumford
11,531 PointsCody Mumford
11,531 PointsLink your github repository. This sounds like something with the _flash.html.erb partial.