Skip to content

Instantly share code, notes, and snippets.

@Dante83
Created May 23, 2015 06:03
Show Gist options
  • Save Dante83/6ad79fdb8482143ade64 to your computer and use it in GitHub Desktop.
Save Dante83/6ad79fdb8482143ade64 to your computer and use it in GitHub Desktop.
rails g model Widget name:string price:float quantity:integer version:integer warranty_expiration_date:datetime invoid_id:integer
rails g model Donkey first_name:string last_name:string price:float favorite_sandwhich_type:string age:integer warranty_expiration_date:datetime invoice_id:integer
rails g model Invoice total_charges:float insanity_rating:integer
rake db:migrate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment