Skip to content
This repository has been archived by the owner on May 6, 2021. It is now read-only.

socherbyc/projeto-show-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Projeto Show 1

It is just a school project.

scaffold

bin/rails generate scaffold client name:string:index password:digest;
bin/rails generate scaffold order number:primary_key client:references;
bin/rails generate scaffold address street city state client:references;
bin/rails generate scaffold product description:text 'price:decimal{10,2}';
bin/rails generate scaffold order_detail amount:integer 'price:decimal{10,2}' order:references product:references;

util

bin/rails db:create db:migrate RAILS_ENV=development
bin/rails db:rollback STEP=9999
bundle install # --path vendor/bundle
rails s -e development

gems

About

Projeto show 1 temporário da matéira

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published