diff options
author | José Valim <jose.valim@gmail.com> | 2011-05-07 13:35:04 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-05-07 13:35:21 +0200 |
commit | c444b0f67bf5f998f1f0e0271116fb111d1ba93a (patch) | |
tree | a2e51100455d59545dfebf8dc1fdc2f4de460ac3 /railties/lib | |
parent | 0e886fe10e396bf4842c86de56f23d05c5d34eae (diff) | |
download | rails-c444b0f67bf5f998f1f0e0271116fb111d1ba93a.tar.gz rails-c444b0f67bf5f998f1f0e0271116fb111d1ba93a.tar.bz2 rails-c444b0f67bf5f998f1f0e0271116fb111d1ba93a.zip |
ADdd missing requires (thanks to @arunagw)
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/application/bootstrap.rb | 2 | ||||
-rw-r--r-- | railties/lib/rails/generators/named_base.rb | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/railties/lib/rails/application/bootstrap.rb b/railties/lib/rails/application/bootstrap.rb index 0c02e5758e..9f21d273e6 100644 --- a/railties/lib/rails/application/bootstrap.rb +++ b/railties/lib/rails/application/bootstrap.rb @@ -1,4 +1,5 @@ require "active_support/notifications" +require "active_support/dependencies" require "active_support/descendants_tracker" module Rails @@ -9,7 +10,6 @@ module Rails initializer :load_environment_hook do end initializer :load_active_support do - require 'active_support/dependencies' require "active_support/all" unless config.active_support.bare end diff --git a/railties/lib/rails/generators/named_base.rb b/railties/lib/rails/generators/named_base.rb index 36bc9e055c..cf317eb21f 100644 --- a/railties/lib/rails/generators/named_base.rb +++ b/railties/lib/rails/generators/named_base.rb @@ -1,3 +1,4 @@ +require 'active_support/core_ext/module/introspection' require 'rails/generators/base' require 'rails/generators/generated_attribute' |