Browse files

ADdd missing requires (thanks to @arunagw)

  • Loading branch information...
1 parent 0e886fe commit c444b0f67bf5f998f1f0e0271116fb111d1ba93a @josevalim josevalim committed May 7, 2011
Showing with 2 additions and 1 deletion.
  1. +1 −1 railties/lib/rails/application/bootstrap.rb
  2. +1 −0 railties/lib/rails/generators/named_base.rb
View
2 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 Bootstrap
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
View
1 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'

0 comments on commit c444b0f

Please sign in to comment.