/gist:4e5f45487142d3e5b2c6 Secret
Created
May 22, 2012 14:22
Star
You must be signed in to star a gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit 64dbc0b18cfc3ffe0b26848570d70094b9982329 | |
Author: Santiago Pastorino <santiago@wyeworks.com> | |
Date: Tue May 22 11:01:16 2012 -0300 | |
require active_support/lazy_load_hooks where is needed | |
diff --git a/actionpack/lib/action_view.rb b/actionpack/lib/action_view.rb | |
index 3823f87..2408207 100644 | |
--- a/actionpack/lib/action_view.rb | |
+++ b/actionpack/lib/action_view.rb | |
@@ -22,6 +22,7 @@ | |
#++ | |
require 'active_support' | |
+require 'active_support/lazy_load_hooks' | |
require 'action_pack' | |
module ActionView | |
diff --git a/activemodel/lib/active_model.rb b/activemodel/lib/active_model.rb | |
index ded1b75..451f3e4 100644 | |
--- a/activemodel/lib/active_model.rb | |
+++ b/activemodel/lib/active_model.rb | |
@@ -22,6 +22,7 @@ | |
#++ | |
require 'active_support' | |
+require 'active_support/lazy_load_hooks' | |
require 'active_model/version' | |
module ActiveModel | |
diff --git a/activerecord/lib/active_record.rb b/activerecord/lib/active_record.rb | |
index 2108200..2cbe04e 100644 | |
--- a/activerecord/lib/active_record.rb | |
+++ b/activerecord/lib/active_record.rb | |
@@ -22,6 +22,7 @@ | |
#++ | |
require 'active_support' | |
+require 'active_support/lazy_load_hooks' | |
require 'active_model' | |
require 'arel' | |
require 'active_record_deprecated_finders' | |
diff --git a/activesupport/lib/active_support.rb b/activesupport/lib/active_support.rb | |
index 56d6676..8f018dc 100644 | |
--- a/activesupport/lib/active_support.rb | |
+++ b/activesupport/lib/active_support.rb | |
@@ -25,7 +25,6 @@ require 'securerandom' | |
require "active_support/dependencies/autoload" | |
require "active_support/version" | |
require "active_support/logger" | |
-require "active_support/lazy_load_hooks" | |
module ActiveSupport | |
extend ActiveSupport::Autoload |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment