To quickly generate a resource using the scaffolding command in rails do this:

$ script/generate scaffold User name:string email:string
$ rake db:migrate
$ script/server

and your application should be ready to go at http://localhost:3000/.

URL Action Purpose
/users index page to list all users
/users/1 show page to show user with id 1
/users/new new page to make a new user
/users/1/edit edit page to edit user with id 1

For more on this and other scaffolding examples checkout Michael Hartl’s excellent RoR tutorial book.