Giter Site home page Giter Site logo

detikpw / sample_app_3rd_edition Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mhartl/sample_app_3rd_edition

0.0 2.0 0.0 2.38 MB

The sample app for the 3rd edition of the Ruby on Rails Tutorial

Ruby 71.72% CoffeeScript 1.59% JavaScript 0.74% CSS 6.24% HTML 19.71%

sample_app_3rd_edition's Introduction

Ruby on Rails Tutorial: sample application

This is the sample application for the Ruby on Rails Tutorial: Learn Web Development with Rails by Michael Hartl. You can use this reference implementation to help track down errors if you end up having trouble with code in the tutorial. In particular, as a first debugging check I suggest getting the test suite to pass on your local machine:

$ cd ~/workspace
$ git clone https://github.com/mhartl/sample_app_3rd_edition.git
$ cd sample_app_3rd_edition
$ bundle install
$ bundle exec rake db:migrate
$ bundle exec rake test

The repository also has chapter-specific branches with the state of the code at the end of each chapter. You can view them as follows:

$ git branch --all
  .
  .
  .
  remotes/origin/account-activation-password-reset
  remotes/origin/filling-in-layout
  remotes/origin/following-users
  remotes/origin/log-in-log-out
  remotes/origin/master
  remotes/origin/modeling-users
  remotes/origin/sign-up
  remotes/origin/static-pages
  remotes/origin/updating-users
  remotes/origin/user-microposts

To check out one of these chapter-specific branches, just use git checkout followed by the name without remotes/origin/:

$ git checkout log-in-log-out

This should help you track down any discrepancies between your code and the code in the tutorial.

sample_app_3rd_edition's People

Contributors

mhartl avatar

Watchers

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