rails new <project_name> -d postgresql --skip-turbolinks --skip-spring -T
-d postgresql
sets up the project to use PostgreSQL--skip-turbolinks
&--skip-spring
creates a project that does not use turbolinks or spring-T
skips the creation of the test directory and use ofTest::Unit
- Optional:
--api
will create a stripped-down Rails application with a smaller set of middleware. It will also configure the generators to skip theviews/helpers/assets
and change the parent forApplicationController
fromActionController::Base
toActionController::API
- In the Gemfile: