Giter VIP home page Giter VIP logo

sp15-hw4's Introduction

Spring 2015 Homework 4

Overall Spec

The overall thing that needs to be accomplished is:

  • Create a dog model that stores name and age
  • Validate the dog has a name and age
  • Going to "/dogs" will go to an index view of all the dogs in the database
  • Going to "/dogs/1" will go to a show view of the dog with id 1. This should work for any arbitrary id.
  • Going to "/dogs/new" will go to a working form that will allow me to create a dog and redirect me to the new dogs show view

Getting Started

To start everything off, fork this repository - there should be a fork button on the top right corner of the repo. Fork the repository to your own!

Run this command to clone this repository after you fork:

git clone https://github.com/your_username/sp15-hw2

Afterwards, change directory into the folder and run

rails server

Just a note

There is the annotated code of how to do the same process for creating all this functionality for a user. The only difference is there is an integer (the dogs age) involved.

Submitting

Run the following commands in your repo

git add .
git commit -am "I'M DONE"

and fill out this form.

sp15-hw4's People

Contributors

chenhoward avatar shannonchu avatar

Watchers

 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.