Last active
August 29, 2015 14:27
-
-
Save MonikaMahanthappa/a7260a09f30389b20609 to your computer and use it in GitHub Desktop.
Rails app
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir workshop | |
rails new demo | |
cd demo | |
dir | |
rails server | |
git init . | |
git add . | |
git commit -m "rails demo app scaffold" | |
rails generate controller Say hello goodbye | |
git add . | |
git commit -m "add say controller" | |
git add . | |
git commit -m "add say hello from rails" | |
git add . | |
git commit -m "use link_to instead of href" | |
git add . | |
git commit -m "fetch time from controller" | |
git add . | |
git commit -m "make time human readable" | |
git add . | |
git commit -m "fetch time from controller" | |
git add . | |
git commit -m "add goodbye message" | |
git add . | |
git commit -m "link hello and goodbye pages" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment