April 2015
Beginner
744 pages
18h 19m
English
In Chapter 9, we finished making a basic Users resource (filling in all the standard REST actions from Table 7.1), together with a flexible authentication and authorization system. In this chapter, we’ll put the finishing touches on this system by adding two closely related features: account activation (which verifies a new user’s email address) and password reset (for users who forget their passwords). Each of these two features will involve creating a new resource, thereby giving us a chance to see further examples of controllers, routing, and database migrations. In the process, we’ll also have a chance to learn how to send email in Rails, both in development and in production. Finally, the ...
Read now
Unlock full access