Created
June 28, 2012 23:29
-
-
Save zeroeth/3014706 to your computer and use it in GitHub Desktop.
rails review notes
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
| rails new 'appname' | |
| rails scaffold birds name:string description:text .... | |
| (generates views, routes, database models) | |
| rake db:create (once when creating app) | |
| rake db:migrate (every time database changes.. from scaffold/migrations) | |
| rails s (starts server) | |
| rails c (starts interactive prompt) | |
| important places | |
| /app/models, /app/controllers, /config/routes. (rails related) | |
| /app/views, /app/assets (html, css) | |
| happy things | |
| http://guides.rubyonrails.org/ | |
| https://github.com/thoughtbot/paperclip/ | |
| http://www.w3schools.com/ (html/css) | |
| http://nerdlings.eriainteractive.com/learning%20web%20design/ | |
| BEER |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment