GithubHelp home page GithubHelp logo

shilcof / week-9-ppc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hansenjl/week-9-ppc

0.0 0.0 0.0 69 KB

Ruby 77.59% JavaScript 2.81% CSS 1.72% HTML 16.93% CoffeeScript 0.51% SCSS 0.43%

week-9-ppc's Introduction

Part 3 Instructions

  • Create a Category model that just has a name attribute. Each party should belong to a category
  • Create a Supply model - each supply will have a name attribute. A party can have many supplies and each supply should be able to be used by many parties.
  • Turn the Party new form into a nested form so that you can choose from an existing category or create a new one when you create a party.
  • Add fields for supplies so that you can create new supplies when you create a party.
  • Display the associations on the Party show page.

Part 2 Instructions

  • Add routes for the new and create actions
  • Create a form for making new Parties. There should be fields for the following attributes:
    • name
    • date
    • budget
    • private (boolean)
  • Use strong params in the controller and create a new Party when the form is submitted.
  • Redirect users to the party show page after a new party is created
  • Add a form to edit and update a party.

Part 1 Instructions

  • Make a Party model with the following attributes:
    • name
    • date
    • budget
    • private (boolean)
  • Make an index view to display all party names and dates
  • Add Party seed data
  • Order this list by date
  • Make a show view to show one particular party
  • Add links to the index view to see 1 party
  • Add a link to the layout to view all parties

week-9-ppc's People

Contributors

hansenjl avatar shilcof avatar kamrinkennedy 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.