This is a fast and straightforward project where you’ll set up a Rails app to be a data-producing API… which is just a fancy way of saying that all your controller methods will render data instead of HTML. Consider this a drill in quickly building a pure vanilla RESTful resource. We won’t be working with an external API until the second project.
Here we are making a simple application which replys to both HTML and XML calls. The kittens are fake.
Do the basics
- Bootstrap
- Title helper
- nav
Model kittens
-
rails g model Kitten
-
setup routes
-
index
-
new/create
-
edit/update
-
delete
-
will_paginate not working