Skip to content

demullane/scaffold-playground-danielle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rails Scaffold

Stories

Users can CRUD people

  • Scaffold a person with the following attributes:
    • first_name (string)
    • last_name (string)
    • date_of_birth (date)
  • Run migrations with rake db:migrate
  • 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 organization with the following attributes:
    • name (string)
    • number_of_employees (integer)
  • Run migrations with rake db:migrate
  • Visit http://localhost:3000/organizations
  • Inspect the db/schema.rb
  • Inspect the config/routes.rb
  • Run rake routes

To use this repo:

  • cd workspace
  • git clone [email protected]:gSchool/scaffold-playground.git
  • create your own repository
  • git remote set-url <your github url>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published