0

I need to use Slim-rails in all my Rails projects. How to use Slim-rails by default?

Andrei Botalov
  • 20,686
  • 11
  • 89
  • 123
Calirails
  • 367
  • 1
  • 3
  • 10

2 Answers2

3

use this to generate your rails project

rails new myapp -m https://raw.github.com/RailsApps/rails-composer/master/composer.rb

choose 3 option at beggining of wizard and later will be option about Template engine

besides slim it has many neat options to speedup your rails project setup

Danil
  • 2,497
  • 2
  • 19
  • 27
1

This is what you want:

http://edgeguides.rubyonrails.org/rails_application_templates.html

Rails Application Templates

Tim Baas
  • 6,035
  • 5
  • 45
  • 72