Rails generators allow developers to quickly create files that follow Rails conventions. The most power-packed one is the scaffold generator which creates a model, controller, views, and tests for a given resource. Of course, each file can be created individually using the model, controller, and job generators.
The job generator can be used to create an ApplicationJob class. This class is the parent class for all jobs in the application. However, it is not possible to create a job that inherits from a different class.
Thanks to this PR, the job generator now allows to specify a parent class for the job. This is similar to the working of the model generator.