2.2 The Users Resource

In this section, we’ll implement the users data model in Section 2.1.1,
along with a web interface to that model. The combination will
constitute a Users resource, which will allow us to think of users as
objects that can be created, read, updated, and deleted through the web
via the HTTP protocol. As promised in the introduction, our Users
resource will be created by a scaffold generator program, which comes
standard with each Rails project. I urge you not to look too closely at
the generated code; at this stage, it will only serve to confuse you.