Created
February 7, 2012 03:11
-
-
Save iflowfor8hours/1756902 to your computer and use it in GitHub Desktop.
Scaffolding for review site black tshirts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user | |
username | |
password | |
uid | |
@reviews | |
tshirt | |
photo | |
brand | |
price | |
tid | |
description | |
sizes available | |
measurements | |
@reviews | |
review | |
@tid -> all | |
@uid -> all | |
rails generate scaffold Users username:string password:string email:string uid:int | |
rails generate scaffold Tshirts photo:binary brand:string price:int description:string sizes_avail:@char measurements:@fixnum tid:int |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment