Removing deprecated config.generators in Rails::Railtie

This commit is contained in:
Guillermo Iguaran
2011-05-25 00:11:56 -05:00
parent 6e1dbb87ef
commit 944aee7bb1

View File

@@ -26,11 +26,6 @@ module Rails
@@app_generators
end
def generators(&block) #:nodoc
ActiveSupport::Deprecation.warn "config.generators in Rails::Railtie is deprecated. Please use config.app_generators instead."
app_generators(&block)
end
# First configurable block to run. Called before any initializers are run.
def before_configuration(&block)
ActiveSupport.on_load(:before_configuration, :yield => true, &block)