Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

require active_support/lazy_load_hooks where is needed

  • Loading branch information...
commit 38293ea828ab52043fceecbdc96946b5bc9bb0e5 1 parent d3ee0a2
@spastorino spastorino authored
View
1  actionpack/lib/action_view.rb
@@ -22,6 +22,7 @@
#++
require 'active_support'
+require 'active_support/lazy_load_hooks'
require 'action_pack'
module ActionView
View
1  activemodel/lib/active_model.rb
@@ -22,6 +22,7 @@
#++
require 'active_support'
+require 'active_support/lazy_load_hooks'
require 'active_model/version'
module ActiveModel
View
1  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'
View
1  activesupport/lib/active_support.rb
@@ -25,7 +25,6 @@
require "active_support/dependencies/autoload"
require "active_support/version"
require "active_support/logger"
-require "active_support/lazy_load_hooks"
module ActiveSupport
extend ActiveSupport::Autoload
View
1  activesupport/lib/active_support/i18n.rb
@@ -1,5 +1,6 @@
begin
require 'i18n'
+ require 'active_support/lazy_load_hooks'
rescue LoadError => e
$stderr.puts "The i18n gem is not available. Please add it to your Gemfile and run bundle install"
raise e
Please sign in to comment.
Something went wrong with that request. Please try again.