diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-11-09 17:54:33 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-11-09 17:55:56 -0200 |
commit | 4f006122870abc2433e6ffd24b9aa4ce614bd7dc (patch) | |
tree | 9b1f192a450bbded5c979dbbbf7396a6fe38c7cd /railties/lib/rails/generators/app_base.rb | |
parent | 3bec1603f9392201998269456707dd854b4710cb (diff) | |
download | rails-4f006122870abc2433e6ffd24b9aa4ce614bd7dc.tar.gz rails-4f006122870abc2433e6ffd24b9aa4ce614bd7dc.tar.bz2 rails-4f006122870abc2433e6ffd24b9aa4ce614bd7dc.zip |
Require the top file and autoload Base class
The generators entry point file is rails/generators so we need to make
sure uers will be able to use the generators when requiring that file.
Fixes #12802
Diffstat (limited to 'railties/lib/rails/generators/app_base.rb')
-rw-r--r-- | railties/lib/rails/generators/app_base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/app_base.rb b/railties/lib/rails/generators/app_base.rb index eab6e52cd9..d79cf2b2f0 100644 --- a/railties/lib/rails/generators/app_base.rb +++ b/railties/lib/rails/generators/app_base.rb @@ -3,7 +3,7 @@ require 'active_support/core_ext/string/strip' require 'rails/version' unless defined?(Rails::VERSION) require 'open-uri' require 'uri' -require 'rails/generators/base' +require 'rails/generators' require 'active_support/core_ext/array/extract_options' module Rails |