Permalink
Browse files

JSON can't be autoloaded since it includes core extensions

  • Loading branch information...
jeremy committed Nov 24, 2008
1 parent 565fad3 commit 536c239966da020777c501d8a2fa7f026fb3a451
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support.rb
@@ -37,7 +37,6 @@ def self.load_all!
autoload :Duration, 'active_support/duration'
autoload :Gzip, 'active_support/gzip'
autoload :Inflector, 'active_support/inflector'
- autoload :JSON, 'active_support/json'
autoload :Memoizable, 'active_support/memoizable'
autoload :MessageVerifier, 'active_support/message_verifier'
autoload :Multibyte, 'active_support/multibyte'
@@ -53,6 +52,7 @@ def self.load_all!
require 'active_support/vendor'
require 'active_support/core_ext'
+require 'active_support/json'
I18n.load_path << "#{File.dirname(__FILE__)}/active_support/locale/en.yml"

0 comments on commit 536c239

Please sign in to comment.