From the course: Ruby on Rails 6 Essential Training
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Challenge: Experiment - Ruby on Rails Tutorial
From the course: Ruby on Rails 6 Essential Training
Challenge: Experiment
(upbeat music) - [Instructor] It's time for your first challenge assignment. And this is an easy one, because there's no right or wrong answer. What I want you to do is to experiment with the things that we've learned in this chapter. Generate at least one more controller for yourself. You can either do that using the command line generator that we used before, or you can try creating the file manually yourself and putting it in the controller's folder. And along with your controller, try and create a couple of different views. You can also do that from the command line right after the controller name you can list several different names of views you want created. Or you can add those manually yourself by adding an action to the controller and adding a template into the proper folder in the views directory. Try writing several different routes. Try some of the mat routes. Try writing them out in the shorthand and…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
Create a new Ruby on Rails project3m 56s
-
Examine the file structure of a Ruby on Rails project4m 55s
-
(Locked)
Configure a Ruby on Rails project7m 2s
-
(Locked)
Access a Ruby on Rails project from a browser2m 25s
-
(Locked)
Generate a controller and view5m 24s
-
(Locked)
Examine how server requests are handled5m 43s
-
(Locked)
Define routes in a Ruby on Rails project7m 17s
-
(Locked)
Challenge: Experiment1m 15s
-
(Locked)
-
-
-
-
-
-