Giter VIP home page Giter VIP logo

immersive-rails-assessment-final-web-0217's Introduction

Rails Assessment

It's time to put our Rails know-how to the test. Today, we have an basic new application.

Objectives

  • MVC
  • REST
  • Request/Response Cycle
  • Form/Form Helpers
  • ActiveRecord
  • Validations

Setup

Before you begin, fork and clone this repo, run rake db:migrate and rake db:seed to get started.

The Domain

The app you built on Monday is now functioning great. Stephen just has a few extra requests.

Instructions / Deliverables

  1. Initially, Stephen rated the interview with Michael J. Fox a 3, but in retrospect, it actually wasn't that bad! As a user, I should be able to edit an appearance so that I can change a rating. Build out the edit functionality for an appearance, keeping with RESTful conventions.
  2. We want to add some more validations to our models - an appearance should only be valid if it has a rating on it that's between 1 and 5.
  3. When we create a new appearance, we should also keep track of the producer who booked that appearance. This means that an appearance should also belong to a user. Update your schema, models, and forms to reflect this.

Hints / Tips

  • Remember we want to be RESTful. What URL should we use to display our edit form? What action should be responsible for updating the request?

immersive-rails-assessment-final-web-0217's People

Contributors

ipc103 avatar wick007 avatar

Watchers

James Cloos avatar  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.