diff options
author | José Valim <jose.valim@gmail.com> | 2010-02-02 20:05:26 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-02-02 20:05:26 +0100 |
commit | 781d0a9baef77a1d749bc8d7ea1b8e550a13c34a (patch) | |
tree | cbc7b1f2f6ef5c93d53d8580a696e47e5d59116c /railties/lib/rails/configuration.rb | |
parent | 12f595b130c31d2377531c74fc2a0b6f55a95936 (diff) | |
download | rails-781d0a9baef77a1d749bc8d7ea1b8e550a13c34a.tar.gz rails-781d0a9baef77a1d749bc8d7ea1b8e550a13c34a.tar.bz2 rails-781d0a9baef77a1d749bc8d7ea1b8e550a13c34a.zip |
Add docs for Railtie, Engine, Plugin and Application.
Diffstat (limited to 'railties/lib/rails/configuration.rb')
-rw-r--r-- | railties/lib/rails/configuration.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/railties/lib/rails/configuration.rb b/railties/lib/rails/configuration.rb index 7887a5d25f..80b72252f1 100644 --- a/railties/lib/rails/configuration.rb +++ b/railties/lib/rails/configuration.rb @@ -4,6 +4,7 @@ require 'rails/rack' module Rails module Configuration + # Holds coonfiguration shared between Railtie, Engine and Application. module Shared def middleware @@default_middleware_stack ||= ActionDispatch::MiddlewareStack.new.tap do |middleware| @@ -87,6 +88,8 @@ module Rails end end + # Generators configuration which uses method missing to wrap it in a nifty DSL. + # It also allows you to set generators fallbacks and aliases. class Generators #:nodoc: attr_accessor :aliases, :options, :fallbacks, :colorize_logging @@ -119,6 +122,7 @@ module Rails end end + # Holds configs deprecated in 3.0. Will be removed on 3.1. module Deprecated def frameworks(*args) raise "config.frameworks in no longer supported. See the generated " \ |