Warmup: Installations and Blogger
To do this course, you’ve got to have Rails and several other technologies properly installed on your computer. That will be the first task if you haven’t already.
Next comes the Jumpstart Lab Blogger Tutorial (which was assigned way back in the Web Development 101 course). The Blogger tutorial is actually more challenging than the project below, and was assigned to give you a chance to get in over your head a bit so you’d pay attention along the way :)
Project: Starting The RoR Tutorial
We will be using the Ruby on Rails Tutorial by Michael Hartl throughout this course. It is a complete, step-by-step walkthrough of building and testing a Twitter-like microblogging application. It covers a lot of material but so does this course, so we’ll be spacing out the chapters along the way to go with the appropriate lesson material.
Though this tutorial is a major common theme across all the coming lessons and serves to tie them together into one major project, we’ll also be building plenty of independent projects along the way.
In this chapter, you’ll build a simple scaffolded app on Rails. It won’t be as complicated as the Blogger Tutorial was and is really just to make sure your system is all set up and your brain is switched into Rails mode.
- If you haven’t already, do the your first rails application. If you’ve already got Rails on your system, it’s still worth skipping to the bottom and verifying that you’ve got Rails 4 (at least) and Ruby 2 working properly.
- If you haven’t already, do the Blogger Tutorial, and chapter 1 of the Rails Tutorial.
If you haven’t done either of these, you should go back to the Web Development 101 course and at least do the Web Development Frameworks section.
- Read and follow along with Chapter 2 of The Rails Tutorial by Michael Hartl, where you will create a very basic Ruby on Rails application. Michael takes steps to standardize the development process by partnering with Cloud 9, but if you’ve done the installations listed above, you should be good to go on your own machine. Michael also favors bitbucket over GitHub because bitbucket has free private repos. However, GitHub recently announced that they now also offer free private repos. If you choose to make your repositories private, keep in mind that your solution will not be able to be viewed by others. If you feel a little lost, it might not hurt to go back and re-read Chapter 1.
Send us your solution by editing this file so we can show others! Submit a link to the Github repo with your files in it here using any of the methods listed on the contributing page.
Submit your solution for the Ruby on Rails tutorial chapter 2, make sure it’s in a repository that you won’t overwrite when we move onto chapter 3 (which starts a new app).
Show Student Solutions