Git Product home page Git Product logo

123_abc's Introduction

##Week 5 Assessment

Fork and clone this repo! Create a pull request when you're done.

###1. Survey says

Answer these qustions via Google Forms.

###2. Playlister, the App

As a personal DJ to the stars, you need an app to create playlists for the users on your site.

####Setup Go to the playlister directory and set this app up:

$ bundle install
$ rake db:create
$ rake db:migrate
$ rake db:seed

Check out db/schema.rb. You'll see that there are users, songs, playlists and a playlist_selections join table. Our seeds file has given you some users and songs, and one playlist to start you off.

####Your Mission

  1. Debug the root page, which is playlist#index. The view itself doesn't need to be changed. Follow the errors and get it to load properly.

  2. Create a NEW form for a playlist. You should be able to select an owner (User) from a drop down, and to select one or many songs via checkboxes.

  3. Include the new and create controller actions. You do not need to write edit or update but the form should be reusable for EDIT.

  4. Make sure your associations are complete. Every playlist needs a unique name and an owner. Destroying a user should destroy their playlists. Destroying a playlist should remove the song associations. Note: Don't create any new controllers or migrations for these criteria

Don't worry about styling! It's going to be ugly, and that's okay.

123_abc's People

Contributors

eriktrautman avatar

Watchers

James Cloos avatar Joshua David Masland-Sarani 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.