Skip to content

gerardmi24/dunder-mifflin-rails-review-nyc01-seng-ft-082420

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Dunder Mifflin Pet Show

You're right on your way to help The Dunder Mifflin Paper Company with their brand new application. It is meant to showcase each of the employees' pets. We’ve started some of the work for you, and we need your help to get our site fully working! Here are the deliverables:

  • Build out the associations for the models we've created. If you look into the seeds.rb file, you'll notice that we've put in the desired models and expected associations to make our app work. However, you need to change the schema in order for you to be able to run rake db:seed. Every employee can only be connected to a single dog, and a dog can have many owners.
  • For our index page for Dogs, a user should be able to click on a specific dog to go to the corresponding show page.
  • The Dog show page should have their name, breed, age and the list of Dunder Mifflin Employees they are connected to
  • For our index page for Employees, a user should be able to click on a specific Employee to go to their corresponding show page.
  • The Employee show page should list all of their attributes (and as a bonus, try to get their picture to show up!)

As a user, I should be able to create AND edit an Employee, and only be able to select 1 dog from a list of already existing dogs.

No one at Dunder Mifflin can have the same alias and/or job title (Dwight made up that rule!)

BONUS: Make an option to sort the dogs on the index page by the number of employees that belong to them.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 77.3%
  • HTML 15.4%
  • JavaScript 3.2%
  • CSS 1.9%
  • CoffeeScript 1.2%
  • SCSS 1.0%