Giter Site home page Giter Site logo

07-23-student-teacher's Introduction

07-23-student-teacher

  • A student belong ot a teacher
  • Student#teacher should return the teacher that student belongs to
  • Teacher#students should return the list of all student that belongs to this teacher

Also,

  • A Student has many student through GradeLevel
  • A Teacher has many students through GradeLevel you should have a complete seeds file

Answer: what change did you make to your app and why

Donain: Student-Teacher

  • A student has a first_name(string)

  • A student has a last_name(string)

  • A student has a grade_level (string), for ex "first", "second", "third", ect...

  • Student#full_name should return the first and last name of the student in one string, for ex: "Minelie Goma"

  • Student#grade_level should return the student grade level

  • Student.all should return a list of all students

  • Student.all_in_grade should receive an argument an argument of a grade , ex: "first", and return all student who are in that grade

  • A teacher has a last name(string)

  • A teacher has a grade_level(string)

  • A teacher has a years_of_experience(integer)

  • Teacher#tenure should return true if a teacher has taught more than 5 years, otherwise false

you should have a completeseeds file for testing

Answer the following questions: which method(s) did you have to create yourself, why?

07-23-student-teacher's People

Contributors

mineliegoma avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.