BuildingARESTAPIinRails3 icon indicating copy to clipboard operation
BuildingARESTAPIinRails3 copied to clipboard

App code from the Screencast on building a REST API

Building A REST API in Rails 3

This app is the one built in this short screencast on building a REST API in Rails 3

I've DRYed up the controller code a little more, the extra helper methods are more in line with the way I prefer to code.

Note, I've removed the references to the instance variables @user and @users in the views. Instead, they're accessed via helper methods!