If you often create new Rails apps, application templates can be a real timesaver. They have a very simple API, which allows developers to make changes to the Gemfile, execute Rails or Git commands, manage files and more. Here’s a simple template I use to generate a new Rails app with Devise already set up: gem 'devise' after_bundle do rails_command 'generate devise:install' rails_command 'generate devise User' end The first line adds Devise to the Gemfile and the after_bundle hook runs two...