diff --git a/config/routes.rb b/config/routes.rb index ea14ce1..b172bc4 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,4 +1,6 @@ ActionController::Routing::Routes.draw do |map| + map.resources :users + # The priority is based upon order of creation: first created -> highest priority. # Sample of regular route: diff --git a/db/schema.rb b/db/schema.rb index b81ae5a..cc5628d 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -9,6 +9,13 @@ # # It's strongly recommended to check this file into your version control system. -ActiveRecord::Schema.define(:version => 0) do +ActiveRecord::Schema.define(:version => 20100529164813) do + + create_table "users", :force => true do |t| + t.string "name" + t.string "email" + t.datetime "created_at" + t.datetime "updated_at" + end end