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

Challenge: Experiment - Ruby on Rails Tutorial

From the course: Ruby on Rails 6 Essential Training

Start my 1-month free trial

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…

Contents