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 trial

Ruby

Can't create to do list.

After I type some stuff into the to do list and click create to do list, it goes back to the to do listing page but nothing is created. Can somebody please help?

The first thing that comes to mind is that we should check and see that the todo list is actually saving to the database. Using the rails console, you can check to see the last todo_list item added to the db with something like

todo.last

which would return the last item saved in the database. Check and see if it saved.

Alternatively, there may be an issue with your html/erb code in the index.html.erb file.