We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
RailsConf 2024 - Save Time with Custom Rails Generators by Garrett Dimon
Learn how to save time and boost productivity with custom Rails generators, from creating boilerplate code to generating entire applications and APIs.
- Use custom Rails generators to generate boilerplate code for your projects.
- Create a generator to generate the basic directory structure for a new Rails engine.
- Define the generator’s options and attributes.
- Create a generator task to generate the engine’s Rake tasks.
- Use a task to generate the basic files for a new Rails engine.
- Create a generator to generate a basic Rails application.
- Define the generator’s options and attributes.
- Create a generator task to generate the basic files for a new Rails application.
- Use a task to generate the basic files for a new Rails application.
- Generate boilerplate code for a Rails engine or application.
- Use generators to speed up the development process.
- Create custom generators for your specific needs.
- Use Jbuilder to render JSON data.
- Create a generator to generate a basic JSON response.
- Use a task to generate the basic JSON files for a new Rails application.
- Create a generator to generate a basic API for a Rails application.
- Use a task to generate the basic API files for a new Rails application.
- Use generators to create a basic RESTful resource.
- Create a generator to generate a basic migration.
- Use a task to generate the basic migration files for a new Rails application.
- Create a generator to generate a basic model.
- Use a task to generate the basic model files for a new Rails application.
- Use generators to create a basic controller.
- Create a generator to generate a basic view.
- Use a task to generate the basic view files for a new Rails application.
- Create a generator to generate a basic helper.
- Use a task to generate the basic helper files for a new Rails application.
- Use generators to create a basic test.
- Create a generator to generate a basic mailer.
- Use a task to generate the basic mailer files for a new Rails application.
- Create a generator to generate a basic concern.
- Use a task to generate the basic concern files for a new Rails application.
- Create a generator to generate a basic decorator.
- Use a task to generate the basic decorator files for a new Rails application.
- Use generators to create a basic active job.
- Create a generator to generate a basic railtie.
- Use a task to generate the basic railtie files for a new Rails application.
- Create a generator to generate a basic active stored scope.
- Use a task to generate the basic active stored scope files for a new Rails application.
- Create a generator to generate a basic middleware.
- Use a task to generate the basic middleware files for a new Rails application.