Now that we have completed the basic steps together, it is time to try it on your own. Try repeating the previous exercise by generating a new controller. Add routes, actions, and templates. Experiment until you feel confident that you understand the fundamental concepts.
- [Instructor] We've now covered the basics…of working with the Ruby on Rails application.…It's important that you understand…the basics we've covered so far before moving on.…I want to encourage you to take a few minutes…to experiment on your own.…I think it's worthwhile if you…take the time to generate a new controller for yourself.…Go back and watch the movies if you need…an example on how to do it.…The new controller can be called anything you like.…You might call it ExampleController,…TestController, just something besides…the DemoController.…And go ahead and add several actions…to that controller so that you can play…around with them.…And then edit the content in the related…templates for those actions.…
That way you'll be sure of knowing…when you're actually looking at…each one of the different templates.…Then use a browser to locate each page…and see how it works.…Get a feel for it.…Once you do that you can go in…and experiment with different routes.…When you create the new controllers…it should create simple match routes for you.…
- Creating and configuring a new Ruby on Rails project
- Generating controllers and views
- Handling server requests
- Using different types of routes
- Rendering and viewing templates
- Generating migrations and models
- Creating, updating, and deleting records
- Finding records with queries
- Understanding relationship types
- Writing controllers for CRUD
- Working with layouts and helpers
- Managing application assets
- Building forms
- Validating data
- Authenticating users
Skill Level Beginner
1. What Is Ruby on Rails?
2. Get Started
3. Controllers, Views, and Dynamic Content
4. Databases and Migrations
5. Models and ActiveRecord
7. CRUD, REST, and Resourceful Routes
8. Controllers and CRUD
9. Layouts, Partials, and View Helpers
12. Data Validation
13. Controller Features
14. User Authentication
15. Improve the Simple CMS
Next steps1m 44s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.