A Rails 4 basic template.
- Application configuration with figaro
- Add database.yml and application.yml to .gitignore
- Create database.example.yml and application.example.yml based on the default files
- Configure minitest-rails
- Use turn's dot format for test results
- Generators configuration: use spec format for minitest and don't generate assets and helpers
- Slim as the default template engine (using slim-rails)
- Remove application.html.erb and create application.html.slim
- Pretty html output on development (
Slim::Engine.set_default_options pretty: true
)
- Development goodies
- Pry as console and debugger (using pry-rails)
- Thin as development server
- Mute asset logging with quiet_assets
- Better Errors
rails new my_app -d postgresql -T -m https://raw.github.com/apod/rails_basic_template/master/template.rb