Users can CRUD people
- Scaffold a
personwith the following attributes:- first_name (string)
- last_name (string)
- date_of_birth (date)
- Run migrations
- Run the server and visit http://localhost:3000/people
- Inspect the
db/schema.rb - Inspect the
config/routes.rb - Run
rake routes
Users can CRUD organizations
- Scaffold an
organizationwith the following attributes:- name (string)
- number_of_employees (integer)
- Run migrations
- Visit http://localhost:3000/organizations
- Inspect the
db/schema.rb - Inspect the
config/routes.rb - Run
rake routes
To use this repo:
cd workspacegit clone git@github.com:gSchool/scaffold-playground.git- create your own repository
git remote set-url <your github url>