Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added users scaffold

  • Loading branch information...
commit d63bef285e65e9d78fb638d36f1482d5cf5eabb8 1 parent ab12d8d
@gabebw authored
Showing with 10 additions and 1 deletion.
  1. +2 −0  config/routes.rb
  2. +8 −1 db/schema.rb
View
2  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:
View
9 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
Please sign in to comment.
Something went wrong with that request. Please try again.