In this challenge, use everything learned in the preceding chapters to create an area for managing the AdminUsers, the CRUD for maintaining the list of authorized site administrators. Generate a new AdminUsersController, define resourceful routes, and write the necessary actions. Use named scopes, strong parameters, layouts, before_action filters, and the view and form helpers covered so far.
- [Narrator] In this chapter, we will spend some time…improving our simple CMS application.…So far, we've been doing a little work here and there…as we've learned about Rails features,…but now it's time to start putting on a bit more polish…so this can become a full, respectable, working application.…We'll begin with another challenge assignment.…In this challenge, you will use what you've learned…in all the proceeding chapters…to create an area for managing our admin users.…We never created the Admin CRUD before,…and now that we've learned about user authentication…it's time to do it.…You should have acquired all of the skills…that you need for this challenge.…
It's an opportunity for you to apply and review…everything we've covered so far.…This is real web development.…Let's go over the requirements and goals of the challenge.…First, in our model, there are two things…that I want you to do, define a method name,…a custom method, that's going to return a combination…of the user's first name and their last name, together,…
- 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.