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!
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 trial
Marcus Tisäter4,886 Points
Todolist application failure
Hey, I'm on the last step of completeing the todolist application and this is what I get for error. Can somone walk me through on whats wrong here? Thanks
Ok fair enough, so just so I'm clear the model's name is TodoitList ?
If you can double check the method name in your todo_list model (obviously replacing the todo_items with the model name you have used:
def has_completed_items? todo_items.complete.size > 0 end
shouldn't that line read