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 Build a Rails API Coding the API Creating To-Do Items

Why does the tutorial not show the steps of making the todo_items?

This tutorial is so so so so so spotty. Two different examples are used (monkeys or whatever then to-do list). Furthermore, under "Creating To-Do Items", it is NEVER shown how to make the todo_items and how to make said items relational to todo_lists (belongs_to :todo_list). Awful tutorial.

2 Answers

Seth Reece
Seth Reece
32,867 Points

Hi Jordan,

I would suggest taking a look at Build a Todo List Application. The Rails API course takes that existing application and just makes an API for it.

Can you please post the exact link for this app .. I couldn't find the app there

thanks, sahil

Seth Kroger
Seth Kroger
56,413 Points

The course is one of several post-track courses that build upon the the To-Do list application in the Rails track. It's only about adding an API to an existing web application. It assumes you've taken the courses on building the application first.

If you haven't worked with Ruby on Rails before it's best to take the track first. It will take you through the steps of creating the todo_lists, setting up relations, etc. until you have a complete application.