We have learned all the basic features that are commonly used in an application. Some of them are minimally customized and some of them are used as is. Maybe now is the time for you to wonder, "What if I want to customize Devise's actions, so that I can inject extra codes to do anything I want?" So, let's step forward to customize Devise's actions.
Technically, to perform action customizations, we need to create a controller that inherits Devise's controllers. It would be wise if you have a look at all of Devise's controllers first before we start this part, as shown at https://github.com/plataformatec/devise/tree/master/app/controllers/devise. So, when you start making some customizations, you will understand why you do it that way. However, I'm not going to tell you about the best practices of these customizations; I will only tell you the basics of performing the customizations. Therefore, what you will see in these examples are the instructions about...