Getting Started
Lesson 1 of 1
  1. 1
    Ruby on Rails is a web framework that makes it easy to build powerful web apps in a short amount of time. Ruby on Rails is written in the Ruby programming language. If you are new to Ruby, we reco…
  2. 2
    Nice work! In three commands, you built a working Rails app that displays the Rails default page. How does it work? The rails new command created a new Rails app named MySite. It generated …
  3. 3
    What happens when you visit http://localhost:8000 in the browser? Check out the diagram in the browser. 1. The browser makes a request for the URL http://localhost:8000. 2. The request hits the …
  4. 4
    Great! We created a new controller named Pages. How did we do this? 1. The rails generate controller Pages command generated a new controller named Pages. This created a file named **app/controlle…
  5. 5
    Well done! Now when a user visits http://localhost:8000/welcome, the route get ‘welcome’ => ‘pages#home’ will tell Rails to send this request to the Pages controller’s home action.
  6. 6
    Congratulations! You built a Rails app from scratch. What can we generalize so far? Using the request/response cycle as a guide, this has been our workflow when making a Rails app. 1. Generate…

What you'll create

Portfolio projects that showcase your new skills

How you'll master it

Stress-test your knowledge with quizzes that help commit syntax to memory