Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 27 lines (17 sloc) 0.818 kb

Rails Development Toolkit

Installation

Add to your Gemfile:

gem 'rails_development_toolkit', :group => :development

And install it via bundler:

bundle install

Rake tasks

rake development:config:prepare        # Build templates from current development config files (existing files will be overwritten)
rake development:config:setup          # Build development config files from templates (existing files will be overwritten)

Rack::DevelopmentMode

DevelopmentMode is rack middleware module, which inject special markup to each HTML page, so it is easy to visually identify production or development mode you are in.

To enable it add to your environment/development.rb:

config.middleware.use ::Rack::DevelopmentMode
Something went wrong with that request. Please try again.