Creating the Rails API

Setting up the JSON api If we want to persist our changes, the first thing we'll need to do is have the index page display what's in the database rather than using our hard coded array. Let's make sure that our index action is set up to return J...
This is a companion discussion topic for the original entry at https://thoughtbot.com/upcase/videos/creating-the-rails-api